GitHub user bbende opened a pull request:
https://github.com/apache/incubator-nifi/pull/43
NIFI-461 Add processors to interact with Apache Solr
This pull request provides two processors:
* GetSolr - extracts data from Solr by running a query and sending the
results out in XML, the intent is to run on a timer, or cron, and only get the
results since last execution, similar to GetHttp.
* PutSolrContentStream - streams the content of a FlowFile to a Solr update
handler, the main uses cases would be indexing json, xml, and csv, but any
update handler could be used. MergeContent could be used in front of this
processor to combine documents for more efficient submission to Solr. A good
overview of how Solr indexes JSON is here:
http://lucidworks.com/blog/indexing-custom-json-data/ and this processor could
be used to post the JSON.
Both processors support a stand-alone Solr instance, as well as a SolrCloud
cluster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/incubator-nifi nifi-solr-bundle
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-nifi/pull/43.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #43
----
commit 71b6ffc95885cf648c38b0ae2c8283cd849332e4
Author: bbende <[email protected]>
Date: 2015-03-22T22:59:22Z
Adding nifi-solr-bundle with processors adding and retrieving data from
Apache Solr
commit 4107a0e93492037c39333ef082da22725ce500cb
Author: bbende <[email protected]>
Date: 2015-03-23T23:46:14Z
Merge remote-tracking branch 'upstream/develop' into nifi-solr-bundle
Conflicts:
nifi/nifi-assembly/pom.xml
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---