s

solr-engine

This service implements the Indexer and Searcher interface of WebLab and connect to a remote SOLR engine in order to realize the functions. The connection is mandatory and thus the remote SOLR server should be started beforehand. Configuration of the SOLR server URL is found in src/main/webapp/WEB-INF/cxf-servlet.xml . See in particular "indexerServiceBean" and "searcherServiceBean". Moreover, the service implements several "Analyser" services that could be included in a complete search chain in order to: - enrich a ResultSet with metadata about Hits (see resultSetMetaEnricherServiceBean) - highlight snippet in ResultSet (see highlighterServiceBean) - provide facets related to the current results (see facetSuggestionServiceBean) - suggest spell correction of the original query (see spellSuggestionServiceBean)
Files download
File Operation
solr-engine-2.1.3.pom download
solr-engine-2.1.3-sources.jar download
Apache Maven
<dependency>
  <groupId>org.ow2.weblab.webservices</groupId>
  <artifactId>solr-engine</artifactId>
  <version>2.1.3</version>
  <type>war</type>
</dependency>
Gradle Groovy
implementation 'org.ow2.weblab.webservices:solr-engine:2.1.3'
Gradle Kotlin
implementation("org.ow2.weblab.webservices:solr-engine:2.1.3")
Scala SBT
libraryDependencies += "org.ow2.weblab.webservices" % "solr-engine" % "2.1.3"
Groovy Grape
@Grapes(
  @Grab(group='org.ow2.weblab.webservices', module='solr-engine', version='2.1.3')
)
Apache Ivy
<dependency org="org.ow2.weblab.webservices" name="solr-engine" rev="2.1.3" />
Leiningen
[org.ow2.weblab.webservices/solr-engine "2.1.3"]
Apache Buildr
'org.ow2.weblab.webservices:solr-engine:jar:2.1.3'