The solr component allows you to interface with an Apache Lucene Solr server.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
url | path | producer | true | java.lang.String | Hostname and port for the solr server | ||
bridgeErrorHandler | parameter | consumer | boolean | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates an exchange. | ||
allowCompression | parameter | producer | java.lang.Boolean | Server side must support gzip or deflate for this to have any effect | |||
connectionTimeout | parameter | producer | java.lang.Integer | connectionTimeout on the underlying HttpConnectionManager | |||
defaultMaxConnectionsPerHost | parameter | producer | java.lang.Integer | maxConnectionsPerHost on the underlying HttpConnectionManager | |||
followRedirects | parameter | producer | java.lang.Boolean | indicates whether redirects are used to get to the Solr server | |||
maxRetries | parameter | producer | java.lang.Integer | Maximum number of retries to attempt in the event of transient errors | |||
maxTotalConnections | parameter | producer | java.lang.Integer | maxTotalConnection on the underlying HttpConnectionManager | |||
requestHandler | parameter | producer | java.lang.String | Set the request handler to be used | |||
soTimeout | parameter | producer | java.lang.Integer | Read timeout on the underlying HttpConnectionManager. This is desirable for queries, but probably not for indexing | |||
streamingQueueSize | parameter | producer | 10 | int | Set the queue size for the StreamingUpdateSolrServer | ||
streamingThreadCount | parameter | producer | 2 | int | Set the number of threads for the StreamingUpdateSolrServer | ||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | ||
collection | parameter | solrCloud | java.lang.String | Set the collection name which the solrCloud server could use | |||
zkHost | parameter | solrCloud | java.lang.String | Set the ZooKeeper host information which the solrCloud could use, such as "zkhost=localhost:8123". |