Solr 8.6.2 - download full data

2022-02-25 Thread Anuj Bhargava
I need to download the data in solr on my laptop. The data has around 950 records The following command shows the result in the browser. As the file is very large I want to download it. I tried with 1 records. Need to download all http://xx.xxx.xxx.xxx:8983/solr/data_2019/select?q=*%3A*&r

Re: Solr 8.6.2 - download full data

2022-02-25 Thread Jan Høydahl
Try the export command https://solr.apache.org/guide/8_6/solr-control-script-reference.html#exporting-documents-to-a-file Jan > 25. feb. 2022 kl. 15:19 skrev Anuj Bhargava : > > I need to download the data in solr on my laptop. The data has around > 950 records > > The following command sh

Re: Solr 8.6.2 - download full data

2022-02-25 Thread Andy Lester
> On Feb 25, 2022, at 8:19 AM, Anuj Bhargava wrote: > > I tried with 1 records. Need to download all > http://xx.xxx.xxx.xxx:8983/solr/data_2019/select?q=*%3A*&rows=1&wt=csv > Use a command-line utility like c

Re: Solr 8.6.2 - download full data

2022-02-25 Thread Eric Pugh
https://github.com/o19s/solr_dump > On Feb 25, 2022, at 11:15 AM, Andy Lester wrote: > > > >> On Feb 25, 2022, at 8:19 AM, Anuj Bhargava wrote: >> >> I tried with 1 records. Need to download all >> http://xx.xxx.xxx.xxx:8983/solr/data_2019/select?q=*%3A*&rows=1&wt=csv >>

Re: Solr 8.6.2 - download full data

2022-02-25 Thread Anuj Bhargava
Tried the following wget -O 2019.csv http://xx.xxx.xxx.xxx:8983/solr/data_2019/select?q=*%3A*&rows=2&wt=csv It is not saving the total rows specified but just a few - saved [9042/9042] And the result is not in csv format { "responseHeader":{ "status":0, "QTime":0, "params":{

Re: Solr 8.6.2 - download full data

2022-02-25 Thread Shawn Heisey
On 2/25/2022 11:36 PM, Anuj Bhargava wrote: Tried the following wget -O 2019.csv http://xx.xxx.xxx.xxx:8983/solr/data_2019/select?q=*%3A*&rows=2&wt=csv It is not saving the total rows specified but just a few - saved [9042/9042] Try putting the URL in quotes: wget -O 2019.csv "http://xx.