Lucene

Lucene

Scheme: lucene
Name Kind Type Required Deprecated Default Value Enum Values Description
host path java.lang.String true false The URL to the lucene server
operation path org.apache.camel.component.lucene.LuceneOperation true false insert
query
Operation to do such as insert or query.
srcDir parameter java.io.File false An optional directory containing files to be used to be analyzed and added to the index at producer startup.
indexDir parameter java.io.File false A file system directory in which index files are created upon analysis of the document by the specified analyzer
analyzer parameter org.apache.lucene.analysis.Analyzer false An Analyzer builds TokenStreams, which analyze text. It thus represents a policy for extracting index terms from text. The value for analyzer can be any class that extends the abstract class org.apache.lucene.analysis.Analyzer. Lucene also offers a rich set of analyzers out of the box
maxHits parameter int false An integer value that limits the result set of the search operation
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).