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

Noble Paul commented on SOLR-13682:
-----------------------------------

bq. Perhaps optimize for the normal case of exporting a collection in the local 
cluster,

this is for the most common usecase . the last part is the collection name
 bq. Also, consider making the default format jsonl 

OK
bq. and default output stdout 

That would be a bad experience , we are gonna emit a few megabytes of data. We 
can have an extra option to do so



> command line option to export data to a file
> --------------------------------------------
>
>                 Key: SOLR-13682
>                 URL: https://issues.apache.org/jira/browse/SOLR-13682
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Priority: Major
>
> example 
> {code}
> bin/solr export --url http://localhost:8983/solr/gettingstarted
> {code}
> This will export all the docs in a collection called {{gettingstarted}} into 
> a file called {{gettingstarted.javabin}}
> additional options are
> * format : jsonl or javabin 
> * file :  export file name .(if this starts with "http://"; the output will be 
> piped to that url. Can be used to pipe docs to another cluster)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to