Interface SolrEndpointBuilderFactory.SolrEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
SolrEndpointBuilderFactory
public static interface SolrEndpointBuilderFactory.SolrEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Solr component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
async
(boolean async) Use async request processing (when supported by the solr client).Use async request processing (when supported by the solr client).autoCommit
(boolean autoCommit) If true, each producer insert/delete operation will be automatically performing a commit.autoCommit
(String autoCommit) If true, each producer insert/delete operation will be automatically performing a commit.certificatePath
(String certificatePath) The certificate that can be used to access the solr host.collection
(String collection) The name of the collection to act against.connectionTimeout
(Long connectionTimeout) The time in ms to wait before connection will time out.connectionTimeout
(String connectionTimeout) The time in ms to wait before connection will time out.deleteByQuery
(boolean deleteByQuery) For the delete instruction, interprete body as query/queries instead of id/ids.deleteByQuery
(String deleteByQuery) For the delete instruction, interprete body as query/queries instead of id/ids.enableSSL
(boolean enableSSL) Enable SSL.Enable SSL.Starting index of the response.Starting index of the response.What operation to perform.operation
(org.apache.camel.component.solr.SolrOperation operation) What operation to perform.Password for authenticating.requestHandler
(String requestHandler) The path of the update request handler (use for update requests / set solr parameter qt for search requests).requestTimeout
(Long requestTimeout) The time in ms to wait before the request will time out (former soTimeout).requestTimeout
(String requestTimeout) The time in ms to wait before the request will time out (former soTimeout).Size of the response.Size of the response.Basic authenticate user.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
async
Use async request processing (when supported by the solr client). The option is a:boolean
type. Default: true Group: producer- Parameters:
async
- the value to set- Returns:
- the dsl builder
-
async
Use async request processing (when supported by the solr client). The option will be converted to aboolean
type. Default: true Group: producer- Parameters:
async
- the value to set- Returns:
- the dsl builder
-
autoCommit
If true, each producer insert/delete operation will be automatically performing a commit. The option is a:boolean
type. Default: false Group: producer- Parameters:
autoCommit
- the value to set- Returns:
- the dsl builder
-
autoCommit
If true, each producer insert/delete operation will be automatically performing a commit. The option will be converted to aboolean
type. Default: false Group: producer- Parameters:
autoCommit
- the value to set- Returns:
- the dsl builder
-
collection
The name of the collection to act against. The option is a:java.lang.String
type. Group: producer- Parameters:
collection
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
The time in ms to wait before connection will time out. The option is a:java.lang.Long
type. Group: producer- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
The time in ms to wait before connection will time out. The option will be converted to ajava.lang.Long
type. Group: producer- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
deleteByQuery
For the delete instruction, interprete body as query/queries instead of id/ids. The option is a:boolean
type. Default: true Group: producer- Parameters:
deleteByQuery
- the value to set- Returns:
- the dsl builder
-
deleteByQuery
For the delete instruction, interprete body as query/queries instead of id/ids. The option will be converted to aboolean
type. Default: true Group: producer- Parameters:
deleteByQuery
- the value to set- Returns:
- the dsl builder
-
from
Starting index of the response. The option is a:java.lang.Integer
type. Group: producer- Parameters:
from
- the value to set- Returns:
- the dsl builder
-
from
Starting index of the response. The option will be converted to ajava.lang.Integer
type. Group: producer- Parameters:
from
- the value to set- Returns:
- the dsl builder
-
operation
default SolrEndpointBuilderFactory.SolrEndpointBuilder operation(org.apache.camel.component.solr.SolrOperation operation) What operation to perform. The option is a:org.apache.camel.component.solr.SolrOperation
type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
operation
What operation to perform. The option will be converted to aorg.apache.camel.component.solr.SolrOperation
type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
requestHandler
The path of the update request handler (use for update requests / set solr parameter qt for search requests). The option is a:java.lang.String
type. Group: producer- Parameters:
requestHandler
- the value to set- Returns:
- the dsl builder
-
requestTimeout
The time in ms to wait before the request will time out (former soTimeout). The option is a:java.lang.Long
type. Group: producer- Parameters:
requestTimeout
- the value to set- Returns:
- the dsl builder
-
requestTimeout
The time in ms to wait before the request will time out (former soTimeout). The option will be converted to ajava.lang.Long
type. Group: producer- Parameters:
requestTimeout
- the value to set- Returns:
- the dsl builder
-
size
Size of the response. The option is a:java.lang.Integer
type. Group: producer- Parameters:
size
- the value to set- Returns:
- the dsl builder
-
size
Size of the response. The option will be converted to ajava.lang.Integer
type. Group: producer- Parameters:
size
- the value to set- Returns:
- the dsl builder
-
certificatePath
The certificate that can be used to access the solr host. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a:java.lang.String
type. Group: security- Parameters:
certificatePath
- the value to set- Returns:
- the dsl builder
-
enableSSL
Enable SSL. The option is a:boolean
type. Default: false Group: security- Parameters:
enableSSL
- the value to set- Returns:
- the dsl builder
-
enableSSL
Enable SSL. The option will be converted to aboolean
type. Default: false Group: security- Parameters:
enableSSL
- the value to set- Returns:
- the dsl builder
-
password
Password for authenticating. The option is a:java.lang.String
type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
Basic authenticate user. The option is a:java.lang.String
type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-