Description:

Queries Solr and outputs the results as a FlowFile

Tags:

Apache, Solr, Get, Pull

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 Expression Language Guide.

Name Default Value Allowable Values Description
Solr Type Standard * Cloud </br> *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
Solr Query A query to execute against Solr
Return Fields Comma-separated list of fields names to return
Sort Clause A Solr sort clause, ex: field1 asc, field2 desc
Date Field The name of a date field in Solr used to filter results
Batch Size 100 Number of rows per Solr query
Solr Socket Timeout 10 seconds The amount of time to wait for data on a socket connection to Solr. A value of 0 indicates an infinite timeout.
Solr Connection Timeout 10 seconds The amount of time to wait when establishing a connection to Solr. A value of 0 indicates an infinite timeout.
Solr Maximum Connections 10 The maximum number of total connections allowed from the Solr client to Solr.
Solr Maximum Connections Per Host 5 The maximum number of connections allowed from the Solr client to a single Solr host.
ZooKeeper Client Timeout 10 seconds The amount of time to wait for data on a connection to ZooKeeper, only used with a Solr Type of Cloud.
ZooKeeper Connection Timeout 10 seconds The amount of time to wait when establishing a connection to ZooKeeper, only used with a Solr Type of Cloud.

Relationships:

Name Description
success The results of querying Solr

Reads Attributes:

None specified.

Writes Attributes:

None specified.