From solr-user-return-138813-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Feb 6 06:05:14 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id C2C20180647 for ; Tue, 6 Feb 2018 06:05:14 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B24EB160C5A; Tue, 6 Feb 2018 05:05:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ADDB8160C3B for ; Tue, 6 Feb 2018 06:05:13 +0100 (CET) Received: (qmail 95783 invoked by uid 500); 6 Feb 2018 05:05:11 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 95771 invoked by uid 99); 6 Feb 2018 05:05:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2018 05:05:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id ED086C2014 for ; Tue, 6 Feb 2018 05:05:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.129 X-Spam-Level: ** X-Spam-Status: No, score=2.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id y0ZlysxklEE7 for ; Tue, 6 Feb 2018 05:05:08 +0000 (UTC) Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3FFBF5F475 for ; Tue, 6 Feb 2018 05:05:08 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id m28so647741pgc.9 for ; Mon, 05 Feb 2018 21:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Cd79DOeB7PqdC74vBTo5Zbw4PQAgm/6QmZiRwFqzYSI=; b=ZRKYYDighzLFOQ9IGxP819DJKDd2X8BcLPkgiicpi9wJfwwLEgjHscWTDUS8HjK27o hY9DGHQFnbq+5BMUy6RGOSSPhSMGx8eiqPcc6rLFccEE76CeDlgmySCP5O3k0DotIpFW r1rzkUKLYI5/GErkQ4FXt/LDPr/rnnTXbqE8OGiLI/iyjAfg2wcu1xgEnrOh+ndYBiIS /SeD76VWuFrBH6t+cB3AM1tzC4J5UQMdKu6e1jYEbTmrIJ9A/wAuJVv8oF1Bir/5IMwb LHLDW9CDGYusKBolvnrq6a5h/Q1XRRWmtdJdwNXoAqNHB/UdWNyAlDUcccP0VlAcvNva NtCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Cd79DOeB7PqdC74vBTo5Zbw4PQAgm/6QmZiRwFqzYSI=; b=o2/PzWLI/jtEFQdcNuDYWnKM7FK6SqMSFDidY6r4buajaOvuBxD0v67z4C3eVx+lGc n9o2qmySIKLX+6pC/3itbnyXweZXZSTLYiX2dWgBXlNyrQ2tPmuwXZgaj0Bj0YJGKiSc de4/n5oxthsb7Iy8Zcg8J8J/tGbYPJK5YqE5RO6KUZu25B22vVmbG2EhYuVMhKF23Fr0 BuoclrptvKVsk9q/+j5wfcrJB23zUIu8/fJuCRMYrnxOk+98qgrxnzKyJWD0Xqn15PDN SGJ2FmWzZx+uCRpm1v3b176Z0ym9M5oznZkcNF53mznpg/DDjwq0b/teejZ+rtV9usGs ucsA== X-Gm-Message-State: APf1xPC7rjw67X3M82VOxr326JoYDdNqKIS/Tz0MfwOPVY6y3/AWC2ly HJs0ujyj8Y753zukFyGMc85t4HT8YLs5k94RHo0= X-Google-Smtp-Source: AH8x224DvBs5+UM5B1N9ue4+kNOlk0zPwyrvRwSkFR1MrjRBMfZgKS3MKCMQBCgkw0yY/JPTQBGw9nVMMacT9N4lONQ= X-Received: by 10.101.87.132 with SMTP id b4mr979791pgr.332.1517893500372; Mon, 05 Feb 2018 21:05:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.131.73 with HTTP; Mon, 5 Feb 2018 21:04:59 -0800 (PST) In-Reply-To: References: From: "@Nandan@" Date: Tue, 6 Feb 2018 13:04:59 +0800 Message-ID: Subject: Re: Reg:- Create Solr Core Using Command Line To: solr-user@lucene.apache.org Content-Type: multipart/related; boundary="089e082303b0e5be3f0564841ee1" --089e082303b0e5be3f0564841ee1 Content-Type: multipart/alternative; boundary="089e082303b0e5be290564841ee0" --089e082303b0e5be290564841ee0 Content-Type: text/plain; charset="UTF-8" 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 > 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 directory ( i.e, schema.xml, solrconfig.xml, also various supporting > files referred in the schema.xml) you specified on the command line? > > can you share the conf directory, if you can? > > Cheers! > Abhishek > > On Tue, Feb 6, 2018 at 9:30 AM, @Nandan@ > wrote: > > > 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. > > > > Thanks > > > > 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@ [mailto:nandanpriyadarshi298@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 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. > > > > > > --089e082303b0e5be290564841ee0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Abhishek,
In my conf sub directory, I put only solr= config.xml file as per error I was getting.=C2=A0
I didn't pu= t any other file .=C2=A0

Please check .

Thanks

On Tue, Feb 6, 2018 at 12:57 PM, abhi Abhishek <= ;abhi26691@gmail.c= om> wrote:
Hello,
=C2=A0 =C2=A0 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 directory ( i.e, schema.xml, solrconfig.xml, also various supporting=
files referred in the schema.xml) you specified on the command line?

can you share the conf directory, if you can?

Cheers!
Abhishek

On Tue, Feb 6, 2018 at 9:30 AM, @Nandan@ <nandanpriyadarshi298@gmail.com>
wrote:

> Hi Sadiki,
> I checked Sample Techproduct Conf folder. Inside that folder, there ar= e
> 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 a= nd
> every config files from my sides. Then only I can able to understand w= hat
> and which files needs in different solr search function.
> I hope you can understand my query.
>
> Thanks
>
> On Tue, Feb 6, 2018 at 11:48 AM, Sadiki Latty <slatty@uottawa.ca> 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 ow= n
> needs. I
> > am not 100% sure where to find them on a windows installation but= I
> believe
> > it would be C:\solr\server\configsets\=C2=A0 or another subfolder= of the
> server
> > folder.
> >
> > -----Original Message-----
> > From: @Nandan@ [mailto:nandanpriyadarshi298@gmail.com]
> > Sent: Monday, February 5, 2018 9:46 PM
> > To: solr-user@luce= ne.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_data.csv which contains 20000 = records.
> > Now I want to create solr core to start my basic search using Sol= r 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 Erro= r :- No
> Conf
> > Sub folder or Solrconfig.xml file present.
> > 4) Then I created folder "books_data" in C:\solr locati= on and Created
> conf
> > subfolder under books_data folder and put solrconfig.xml inside c= onf
> > subfolder.
> > 5) Again start to execute query
> > C:\solr\bin>solr create_core -c books_data -d C:\solr\books_da= ta Got
> Error
> > :- Already core existed.
> > When I checked Solr Admin UI , showing error message as SolrCore<= br> > > Initialization Failures
> >
> >=C2=A0 =C2=A0 - *books_data:*
> >=C2=A0 =C2=A0 org.apache.solr.common.SolrException:org.apache= .solr.
> > common.SolrException:
> >=C2=A0 =C2=A0 Could not load conf for core books_data: Error loadi= ng solr config
> from
> >=C2=A0 =C2=A0 C:\solr\bin\books_data\conf\solrconfig.xml
> >
> >
> > Please tell me where am I doing wrong?
> > Thanks.
> >
>

--089e082303b0e5be290564841ee0-- --089e082303b0e5be3f0564841ee1--