lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "@Nandan@" <>
Subject Re: Reg:- Create Solr Core Using Command Line
Date Tue, 06 Feb 2018 04:00:45 GMT
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
and which files needs in different solr search function.
I hope you can understand my query.


On Tue, Feb 6, 2018 at 11:48 AM, Sadiki Latty <> wrote:

> 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_configs for example). These configsets have the
> required files and you can copy and modify to accommodate your own needs. I
> am not 100% sure where to find them on a windows installation but I believe
> it would be C:\solr\server\configsets\  or another subfolder of the server
> folder.
> -----Original Message-----
> From: @Nandan@ []
> Sent: Monday, February 5, 2018 9:46 PM
> To:
> 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_data.csv which contains 20000 records.
> 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 create_core -c books_data -d C:\solr Got Error :- No Conf
> Sub folder or Solrconfig.xml file present.
> 4) Then I created folder "books_data" in C:\solr location and Created conf
> subfolder under books_data folder and put solrconfig.xml inside conf
> subfolder.
> 5) Again start to execute query
> C:\solr\bin>solr create_core -c books_data -d C:\solr\books_data Got Error
> :- Already core existed.
> When I checked Solr Admin UI , showing error message as SolrCore
> Initialization Failures
>    - *books_data:*
>    org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
>    Could not load conf for core books_data: Error loading solr config from
>    C:\solr\bin\books_data\conf\solrconfig.xml
> Please tell me where am I doing wrong?
> Thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message