Solr
The Solr destination writes data to a Solr node or cluster.
When you configure the Solr destination, you configure connection information for the node or cluster. You can configure the destination to index records individually or in batches.
You map incoming fields to Solr fields. You can specify the action to take when mapped fields are missing and configure the destination to ignore missing optional fields.
You can specify whether the destination validates the connection to Solr. And you can configure write properties that determine whether the destination waits for Solr to complete all processing before continuing to write additional data.
When necessary, you can enable the destination to use Kerberos authentication.
Index Mode
The index mode determines how the Solr destination indexes records when writing to Solr. Index mode also determines how the destination handles errors.
- Record
- The destination indexes one record at a time, and then passes the record to Solr.
- Batch
- The destination indexes a batch of records at one time, and then passes the batch to Solr.
Kerberos Authentication
You can use Kerberos authentication to connect to a Solr node or cluster. When you use Kerberos authentication, Data Collector uses the Kerberos principal and keytab to connect to Solr.
The
Kerberos principal and keytab are defined in the Data Collector
configuration file, $SDC_CONF/sdc.properties
. To use Kerberos
authentication, configure all Kerberos properties in the Data Collector
configuration file, and then enable Kerberos in the Solr destination.
For more information about enabling Kerberos authentication for Data Collector, see Kerberos Authentication.