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 Details

    • advanced

    • async

      default SolrEndpointBuilderFactory.SolrEndpointBuilder async(boolean 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 a boolean type. Default: true Group: producer
      Parameters:
      async - the value to set
      Returns:
      the dsl builder
    • autoCommit

      default SolrEndpointBuilderFactory.SolrEndpointBuilder autoCommit(boolean 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder autoCommit(String autoCommit)
      If true, each producer insert/delete operation will be automatically performing a commit. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      autoCommit - the value to set
      Returns:
      the dsl builder
    • collection

      default SolrEndpointBuilderFactory.SolrEndpointBuilder collection(String 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder connectionTimeout(Long 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder connectionTimeout(String connectionTimeout)
      The time in ms to wait before connection will time out. The option will be converted to a java.lang.Long type. Group: producer
      Parameters:
      connectionTimeout - the value to set
      Returns:
      the dsl builder
    • deleteByQuery

      default SolrEndpointBuilderFactory.SolrEndpointBuilder deleteByQuery(boolean 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder deleteByQuery(String deleteByQuery)
      For the delete instruction, interprete body as query/queries instead of id/ids. The option will be converted to a boolean 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 a java.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 a org.apache.camel.component.solr.SolrOperation type. Group: producer
      Parameters:
      operation - the value to set
      Returns:
      the dsl builder
    • requestHandler

      default SolrEndpointBuilderFactory.SolrEndpointBuilder requestHandler(String 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder requestTimeout(Long 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder requestTimeout(String requestTimeout)
      The time in ms to wait before the request will time out (former soTimeout). The option will be converted to a java.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 a java.lang.Integer type. Group: producer
      Parameters:
      size - the value to set
      Returns:
      the dsl builder
    • certificatePath

      default SolrEndpointBuilderFactory.SolrEndpointBuilder certificatePath(String 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

      default SolrEndpointBuilderFactory.SolrEndpointBuilder enableSSL(boolean 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 a boolean 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