PutSolrContentStream 2.3.0.4.10.0.0-147

Bundle
org.apache.nifi | nifi-solr-nar
Description
Sends the contents of a FlowFile as a ContentStream to Solr
Tags
Apache, Put, Send, Solr
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
  • Additional Details for PutSolrContentStream 2.3.0.4.10.0.0-147

    PutSolrContentStream

    Usage Example

    This processor streams the contents of a FlowFile to an Apache Solr update handler. Any properties added to this processor by the user are passed to Solr on the update request. If a parameter must be sent multiple times with different values, properties can follow a naming convention: name.number, where name is the parameter name and number is a unique number. Repeating parameters will be sorted by their property name.

    Example: To specify multiple ‘f’ parameters for indexing custom json, the following properties can be defined:

    • split: /exams
    • f.1: first:/first
    • f.2: last:/last
    • f.3: grade:/grade

    This will result in sending the following url to Solr: split=/exams&f=first:/first&f=last:/last&f=grade:/grade

Properties
Dynamic Properties
Relationships
Name Description
success The original FlowFile
failure FlowFiles that failed for any reason other than Solr being unreachable
connection_failure FlowFiles that failed because Solr is unreachable