Solr
The Solr destination writes data to a Solr node or cluster. For information about supported versions, see Supported Systems and Versions.
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 configure how the destination maps fields in the record to fields in Solr. You can have the destination automatically map fields in the record to fields in the Solr schema based on name. Alternatively, you can map specific incoming fields to Solr fields. You also specify the action to take when the record is missing fields from the schema or mapped fields, and you can 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 properties. To use Kerberos authentication, configure all Kerberos properties in the Data Collector configuration properties, and then enable Kerberos in the Solr destination.
For more information about enabling Kerberos authentication for Data Collector, see Kerberos Authentication.