[ 
https://issues.apache.org/jira/browse/SOLR-7268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-7268:
-----------------------------
    Description: 
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. This 
essentially means that, solrj will now get the ability parse most of the 
formats which solr is capable of parsing
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/solrj -p solrj.properties
#or a producer program
myprogram | solr/bin/solrj -p solrj.properties
{noformat}

  was:
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}


> 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. This 
> essentially means that, solrj will now get the ability parse most of the 
> formats which solr is capable of parsing
> 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/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to