[
https://issues.apache.org/jira/browse/NIFI-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376982#comment-14376982
]
ASF GitHub Bot commented on NIFI-461:
-------------------------------------
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
----
> Add processors to interact with Apache Solr
> -------------------------------------------
>
> Key: NIFI-461
> URL: https://issues.apache.org/jira/browse/NIFI-461
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Reporter: Bryan Bende
> Priority: Minor
>
> I'd like to see processors for interacting with Apache Solr.
> Solr has a variety of "update handlers" which allow posting data for
> indexing, and NiFi would be a great framework to provide the data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)