See
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/345/changes>
Changes:
[rwesten] STANBOL-297: Implementation of multiple text constraint that are
treaded as OR
TextConstraint:
* For API changes please see the STANBOL-297
* Decided to return null instead of an empty list for getTexts() in case no
TextConstraint is set. This will not require to change code if users just
rename getText() to getTexts() and want to check if no textConstraint is set
* Empty an NULL elements parsed as Text Constraints are filtered. If after
filtering no textConstraints are left, than null will be returned by getTexts()
SPARQL implementation:
* For Virtuoso the bif:contain feature is used for implementation
* For Larq the documentation says that the normal Lucene query syntax can be
used. However the implementation was not tested because no LARQ server was
available for testing
* For standard SPARQL 1.0 multiple filters are connected with '||'
* Score Boosts are not implemented. However an implementation for LARQ and
Virtuoso should be possible.
Solr implementation:
* Queries are translated to nested OR and AND
* Scores are automatically provided by Solr
Documetnation:
* Updated the Documentation of the Query interface in the RESTful API
documentation of the Entityhub to reflect this new feature
BugFix:
* Corrected a Bug in the SolrQuery generation. But I think nobody encountered
it yet because in such case invalid SolrQueries would have had generated.
* Deleted the duplicate JSONToFieldQuery class that got somehow re-added to SVN
after renaming it
------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Stanbol Entityhub Yard implementation hased on Solr
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/target>
[INFO] snapshot
org.apache.stanbol:org.apache.stanbol.commons.solr:0.9.0-incubating-SNAPSHOT:
checking for updates from apache
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 30 source files to
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[23,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: package org.apache.stanbol.commons.solr
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[84,34]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[92,11]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java>:[56,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: package org.apache.stanbol.commons.solr
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[95,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[96,24]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[99,27]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[110,19]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[112,19]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
[ERROR]
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java>:[471,42]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYard
[INFO] 10 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/pom.xml>
to
/home/hudson/hudson/jobs/stanbol-trunk-1.6/modules/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/builds/2011-07-22_20-32-05/archive/org.apache.stanbol/org.apache.stanbol.entityhub.yard.solr/0.9.0-incubating-SNAPSHOT/org.apache.stanbol.entityhub.yard.solr-0.9.0-incubating-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[23,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: package org.apache.stanbol.commons.solr
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[84,34]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[92,11]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java>:[56,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: package org.apache.stanbol.commons.solr
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[95,38]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[96,24]
cannot find symbol
symbol : class SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[99,27]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[110,19]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java>:[112,19]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYardConfig
<https://builds.apache.org/job/stanbol-trunk-1.6/org.apache.stanbol$org.apache.stanbol.entityhub.yard.solr/ws/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYard.java>:[471,42]
cannot find symbol
symbol : variable SolrServerTypeEnum
location: class org.apache.stanbol.entityhub.yard.solr.impl.SolrYard
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 23 seconds
[INFO] Finished at: Fri Jul 22 20:27:25 UTC 2011
[INFO] Final Memory: 172M/486M
[INFO] ------------------------------------------------------------------------