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@
Hi Abhishek, In my conf sub directory, I put only solrconfig.xml file as per error I was getting. I didn't put any other file . Please check . Thanks On Tue, Feb 6, 2018 at 12:57 PM, abhi Abhishek wrote: > Hello, > I followed the steps outlined in your mail. i was able to get a running > c

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread abhi Abhishek
Hello, I followed the steps outlined in your mail. i was able to get a running core up fine. only thing I can think of in your case is the config directory having all the required files for the SOLR Core to get initialized. can you check if you have all the SOLR config files in the config direc

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi Sadiki, I checked Sample Techproduct Conf folder. Inside that folder, there are numerous files. So Again my question will be how those files came. I want to create core from Scratch and want to check and create each and every config files from my sides. Then only I can able to understand what an

RE: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Sadiki Latty
If I'm not mistaken the command requires that the books_data folder already exists with a conf folder inside and the various required files (solrconfig.xml, solr.xml,etc). To get an idea of what you should have in your conf folder you can check out the included configsets (sample_techproducts_c