Description:

Sends the contents of a FlowFile as a ContentStream to Solr

Additional Details...

Tags:

Apache, Solr, Put, Send

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

NameDefault ValueAllowable ValuesDescription
Solr TypeStandard
  • Cloud A SolrCloud instance.
  • Standard A stand-alone Solr instance.
The type of Solr instance, Cloud or Standard.
Solr LocationThe Solr url for a Solr Type of Standard (ex: http://localhost:8984/solr/gettingstarted), or the ZooKeeper hosts for a Solr Type of Cloud (ex: localhost:9983).
CollectionThe Solr collection name, only used with a Solr Type of Cloud
Supports Expression Language: true
Content Stream Path/update/json/docsThe path in Solr to post the ContentStream
Supports Expression Language: true
Content-Typeapplication/jsonContent-Type being sent to Solr
Supports Expression Language: true
Commit WithinThe number of milliseconds before the given update is committed
Supports Expression Language: true

Dynamic Properties:

Dynamic Properties allow the user to specify both the name and value of a property.

NameValueDescription
A Solr request parameter nameA Solr request parameter valueThese parameters will be passed to Solr on the request

Relationships:

NameDescription
failureFlowFiles that failed for any reason other than Solr being unreachable
connection_failureFlowFiles that failed because Solr is unreachable
successThe original FlowFile

Reads Attributes:

None specified.

Writes Attributes:

None specified.