[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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 
 * {{query}} : a custom query , default is **:**
 * {{fields}}: a comma separated list of fields to be exported
 * {{limit}} : no:of docs. default is 100 , send  {{-1}} to import all the docs

h2. Importing using {{curl}}

importing json file
{code:java}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/gettingstarted/update/json/docs?commit=true
{code}
importing javabin format file
{code:java}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin 
http://localhost:7574/solr/gettingstarted/update?commit=true
{code}

  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.json}}

additional options are
 * {{format}} : {{jsonl}} (default) or {{javabin}}
 * {{out}} : export file name 
 * {{query}} : a custom query , default is **:**
 * {{fields}}: a comma separated list of fields to be exported
 * {{limit}} : no:of docs. default is 100 , send  {{-1}} to import all the docs

h2. Importing using {{curl}}

importing json file
{code:java}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code:java}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}


> 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
>Assignee: 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 
>  * {{query}} : a custom query , default is **:**
>  * {{fields}}: a comma separated list of fields to be exported
>  * {{limit}} : no:of docs. default is 100 , send  {{-1}} to import all the 
> docs
> h2. Importing using {{curl}}
> importing json file
> {code:java}
> curl -X POST -d @gettingstarted.json 
> http://localhost:18983/solr/gettingstarted/update/json/docs?commit=true
> {code}
> importing javabin format file
> {code:java}
> curl -X POST --header "Content-Type: application/javabin" --data-binary 
> @gettingstarted.javabin 
> http://localhost:7574/solr/gettingstarted/update?commit=true
> {code}



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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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 
 * {{query}} : a custom query , default is **:**
 * {{fields}}: a comma separated list of fields to be exported
 * {{limit}} : no:of docs. default is 100 , send  {{-1}} to import all the docs

h2. Importing using {{curl}}

importing json file
{code:java}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code:java}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}

  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.json}}

additional options are
 * {{format}} : {{jsonl}} (default) or {{javabin}}
 * {{out}} : export file name 
 * {{query}} : a custom query , default is **:**
 * {{fields}}: a comma separated list of fields to be exported

h2. Importing using {{curl}}

importing json file
{code:java}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code:java}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}


> 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 
>  * {{query}} : a custom query , default is **:**
>  * {{fields}}: a comma separated list of fields to be exported
>  * {{limit}} : no:of docs. default is 100 , send  {{-1}} to import all the 
> docs
> h2. Importing using {{curl}}
> importing json file
> {code:java}
> curl -X POST -d @gettingstarted.json 
> http://localhost:18983/solr/copy/update/json/docs?commit=true
> {code}
> importing javabin format file
> {code:java}
> curl -X POST --header "Content-Type: application/javabin" --data-binary 
> @gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
> {code}



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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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 
 * {{query}} : a custom query , default is **:**
 * {{fields}}: a comma separated list of fields to be exported

h2. Importing using {{curl}}

importing json file
{code:java}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code:java}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}

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

h2. Importing using {{curl}}
importing json file
{code}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}


> 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 
>  * {{query}} : a custom query , default is **:**
>  * {{fields}}: a comma separated list of fields to be exported
> h2. Importing using {{curl}}
> importing json file
> {code:java}
> curl -X POST -d @gettingstarted.json 
> http://localhost:18983/solr/copy/update/json/docs?commit=true
> {code}
> importing javabin format file
> {code:java}
> curl -X POST --header "Content-Type: application/javabin" --data-binary 
> @gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
> {code}



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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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

h2. Importing using {{curl}}
importing json file
{code}
curl -X POST -d @gettingstarted.json 
http://localhost:18983/solr/copy/update/json/docs?commit=true
{code}
importing javabin format file
{code}
curl -X POST --header "Content-Type: application/javabin" --data-binary 
@gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
{code}

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


> 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
> h2. Importing using {{curl}}
> importing json file
> {code}
> curl -X POST -d @gettingstarted.json 
> http://localhost:18983/solr/copy/update/json/docs?commit=true
> {code}
> importing javabin format file
> {code}
> curl -X POST --header "Content-Type: application/javabin" --data-binary 
> @gettingstarted.javabin http://localhost:7574/solr/mycore/update?commit=true
> {code}



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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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.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)

  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). Or 


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



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



[jira] [Updated] (SOLR-13682) command line option to export data to a file

2019-08-08 Thread Noble Paul (JIRA)


 [ 
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.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). Or 

  was:
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)


> 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.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). Or 



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