[ 
https://issues.apache.org/jira/browse/SOLR-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199334#comment-17199334
 ] 

David Eric Pugh commented on SOLR-13689:
----------------------------------------

Can you roundtrip a index using this?   I.e, if the exported data from bin/solr 
export is set up to be reimported directly, dealing with things like the 
_version_ field etc?   

bin/solr import has nice symmetry with bin/solr export.   

Reading through 
https://lucene.apache.org/solr/guide/8_6/solr-control-script-reference.html#exporting-documents-to-a-file
 discovered you can post a Javabin file, interesting!   Curious how much faster 
than a .json.   

Lastly, I'm checking if import dumps the file as .json or .jsonl (I believe 
.jsonl) is the right extension.

> add a command line option bin/solr import to import jsonl/javabin file 
> -----------------------------------------------------------------------
>
>                 Key: SOLR-13689
>                 URL: https://issues.apache.org/jira/browse/SOLR-13689
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>            Priority: Major
>
> example 
> {code}
> bin/solr import -url [http://localhost:8983/solr/gettingstarted] -file 
> data.javabin
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to