Re: Reg:- Create Solr Core Using Command Line

2018-02-06 Thread @Nandan@
Hi , Thanks you all for quality reply . Finally I am able to below from Scratch:- 1) Create Core by CMD line. 2) Index CSV file by CMD Below are my steps , and I hope other basic beginners can able to learn easily. Basic Information about Solr :- Installation folder :- C:\solr Solr bin folder l

Re: Reg:- Create Solr Core Using Command Line

2018-02-06 Thread Shawn Heisey
On 2/6/2018 6:00 PM, @Nandan@ wrote: Even I tried this one before also. And everytime getting below result. C:\solr\bin>post -c films example/books_data.csv 'post' is not recognized as an internal or external command, operable program or batch file. C:\solr\bin>cd .. C:\solr>bin/post -c fi

Re: Reg:- Create Solr Core Using Command Line

2018-02-06 Thread @Nandan@
Hi Abhishek, Even I tried this one before also. And everytime getting below result. > C:\solr\bin>post -c films example/books_data.csv 'post' is not recognized as an internal or external command, operable program or batch file. C:\solr\bin>cd .. C:\solr>bin/post -c films example/books_data.csv

Re: Reg:- Create Solr Core Using Command Line

2018-02-06 Thread abhi Abhishek
you can try using the post Tool. https://lucene.apache.org/solr/guide/6_6/post-tool.html bin/post -c film example/books_data.csv Cheers! Abhishek On Tue, Feb 6, 2018 at 1:22 PM, @Nandan@ wrote: > Hi , > I created core name as "films". Now I am trying to insert my csv file by > below step:-

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi , I created core name as "films". Now I am trying to insert my csv file by below step:- C:\solr>curl "http://localhost:8983/solr/films/update?commit=true"; --data-binary @example/books_data.csv -H 'Content-type:application/csv' Got Below result. { "responseHeader":{ "status":0, "QTime"

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Shawn Heisey
On 2/5/2018 10:39 PM, Shawn Heisey wrote: In order for this solr script command to work, the argument to the -d option (which you have as C:\solr) would have to be a config directory, containing a minimum of solrconfig.xml and the schema. Replying to myself because I made an error here. The d

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Shawn Heisey
On 2/5/2018 7:45 PM, @Nandan@ wrote: Now I want to create solr core to start my basic search using Solr UI. Steps which I Follow :- 1) Go to bin directory and start solr C:\solr\bin>solr start -p 8983 2) books_data.csv is in C:\solr location 3) Now I try to create solr core. C:\solr\bin>solr crea

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
or another subfolder of the > > server > > > folder. > > > > > > -Original Message- > > > From: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com] > > > Sent: Monday, February 5, 2018 9:46 PM > > > To: solr-user@lucene.apache.org >

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread abhi Abhishek
; > From: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com] > > Sent: Monday, February 5, 2018 9:46 PM > > To: solr-user@lucene.apache.org > > Subject: Reg:- Create Solr Core Using Command Line > > > > Hi , > > This question might be very basic, but need to clar

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
ay, February 5, 2018 9:46 PM > To: solr-user@lucene.apache.org > Subject: Reg:- Create Solr Core Using Command Line > > Hi , > This question might be very basic, but need to clarify my basic > understanding. > I am using Solr Version 7.2.1 > I have one CSV file named as books_dat

RE: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Sadiki Latty
ginal Message- From: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com] Sent: Monday, February 5, 2018 9:46 PM To: solr-user@lucene.apache.org Subject: Reg:- Create Solr Core Using Command Line Hi , This question might be very basic, but need to clarify my basic understanding. I am using Solr Ve

Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi , This question might be very basic, but need to clarify my basic understanding. I am using Solr Version 7.2.1 I have one CSV file named as books_data.csv which contains 2 records. Now I want to create solr core to start my basic search using Solr UI. Steps which I Follow :- 1) Go to bin dir