Solr

Solr

Description: Represents the component that manages SolrEndpoint.
Scheme: solr
Syntax: solr:url
Maven: org.apache.camel/camel-solr/2.16.1

Represents a Solr endpoint.

Name Kind Group Required Default Type Enum Description
url path producer true java.lang.String Hostname and port for the solr server
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
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
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".