[
https://issues.apache.org/jira/browse/SOLR-7268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul reassigned SOLR-7268:
--------------------------------
Assignee: Noble Paul
> Add a script to pipe data from other programs or files to Solr using SolrJ
> --------------------------------------------------------------------------
>
> Key: SOLR-7268
> URL: https://issues.apache.org/jira/browse/SOLR-7268
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Noble Paul
>
> I should be able to pipe JSON/XML/CSV or whatever is possible at the
> {{/update/*}} to a command which in turn uses SolrJ to send the docs to the
> correct leader in native format.
> In the following examples , all connection details of the cluster is put into
> a file called solrj.properties
> example :
> {noformat}
> cat myjson.json | solr/bin/indexer -p indexer.properties -type=json
> #or a producer program
> myprogram | solr/bin/indexer -p indexer.properties -type=csv
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]