Sends the contents of a FlowFile as a ContentStream to Solr
Apache, Solr, Put, Send
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.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Solr Type | Standard |
| The type of Solr instance, Cloud or Standard. |
Solr Location | The 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). | ||
Collection | The Solr collection name, only used with a Solr Type of Cloud Supports Expression Language: true | ||
Content Stream Path | /update/json/docs | The path in Solr to post the ContentStream Supports Expression Language: true | |
Content-Type | application/json | Content-Type being sent to Solr Supports Expression Language: true | |
Commit Within | The number of milliseconds before the given update is committed Supports Expression Language: true |
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|---|---|
A Solr request parameter name | A Solr request parameter value | These parameters will be passed to Solr on the request |
Name | Description |
---|---|
failure | FlowFiles that failed for any reason other than Solr being unreachable |
connection_failure | FlowFiles that failed because Solr is unreachable |
success | The original FlowFile |