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 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
Solr QueryA query to execute against Solr
Return FieldsComma-separated list of fields names to return
Sort ClauseA Solr sort clause, ex: field1 asc, field2 desc
Date FieldThe name of a date field in Solr used to filter results
Batch Size100Number of rows per Solr query

Relationships:

NameDescription
successThe results of querying Solr

Reads Attributes:

None specified.

Writes Attributes:

None specified.