You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2015/03/18 19:02:38 UTC

[jira] [Created] (SOLR-7268) Improve SolrJ to pipe data from other programs or files

Noble Paul created SOLR-7268:
--------------------------------

             Summary: Improve SolrJ to pipe data from other programs or files 
                 Key: SOLR-7268
                 URL: https://issues.apache.org/jira/browse/SOLR-7268
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul


I should be able to pipe JSON/XML/CSV or whatever to a solrJ command line and SolrJ can send the docs to the correct leader in native format. 
In the following examples , all c=nnection details of the cluster is put into a file called solrj.properties
example :
{noformat}
cat myjson.json | solr/bin/solrj -p solrj.properties
#or a producer program
myprogram | solr/bin/solrj -p solrj.properties
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org