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

Shalin Shekhar Mangar updated SOLR-7042:
----------------------------------------
    Attachment: SOLR-7042.patch

Patch which adds support for jsonl files. See http://jsonlines.org/

Now json and jsonl files are by default sent to /update/json/docs. In case 
someone has files in the solr json format then they can use -format solr to 
force the update to be sent to /update.

> Enhance bin/post's JSON handling
> --------------------------------
>
>                 Key: SOLR-7042
>                 URL: https://issues.apache.org/jira/browse/SOLR-7042
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 5.0
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>             Fix For: Trunk
>
>         Attachments: SOLR-7042.patch
>
>
> The current (5.0) version of bin/post assumes JSON (and XML) are in *Solr* 
> command format, eg. {{bin/post -c collection1 data.json}} and that the URL to 
> post to is /update.  
> This issue is to improve/evolve bin/post so that it can post to /update when 
> the data is in *Solr* XML or JSON format and to /update/json/docs for 
> arbitrary JSON.



--
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