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:04:38 UTC

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

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org