[
https://issues.apache.org/jira/browse/SOLR-13682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-13682:
------------------------------
Description:
example
{code:java}
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.json}}
additional options are
* {{format}} : {{jsonl}} (default) or {{javabin}}
* {{out}} : 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)
* {{query}} : a custom query , default is **:**
* {{fields}}: a comma separated list of fields to be exported
was:
example
{code:java}
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
* out : 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)
> 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:java}
> 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.json}}
> additional options are
> * {{format}} : {{jsonl}} (default) or {{javabin}}
> * {{out}} : 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)
> * {{query}} : a custom query , default is **:**
> * {{fields}}: a comma separated list of fields to be exported
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]