Hi Erick,

Thanks for your reply.

My assumption was based on my steps apparently working with 6.1.0, i.e. I could
just add a core via the web UI without any other steps being required and
everything appeared to work.

That process, which I accept was probably not correct in the first place, no
longer appears to work with 6.3.0.

However, your recommendation works for me, e.g.:

# sudo -u solr /opt/solr/bin/solr create_core -c new_core -d basic_configs

creates the core as expected.

Thanks again,

Leon

> 
>     On 29 December 2016 at 17:24 Erick Erickson <erickerick...@gmail.com>
> wrote:
> 
> 
>     Your assumption is not correct. The Web UI core admin expects that
>     you've already created the new core's directory and the associated
>     conf directory below it. Since each core may have a much different
>     config, there's no good way to pick the right set of configurations,
>     your schema.xml file which is the heart of your search really must be
>     customized to support your individual use-case.
> 
>     Personally I'd use the "bin/solr create_core" script command instead.
>     Admittedly the admin UI is tempting, but it makes some assumptions.
> 
>     Best,
>     Erick
> 
>     On Thu, Dec 29, 2016 at 1:53 AM, Leon STRINGER
>     <leon.strin...@ntlworld.com> wrote:
>     > Hi,
>     >
>     > I'm new to Solr and am trying to set up a newly installed Solr instance.
>     >
>     > When I try to create a core via the web interface I get:
>     >
>     > Error CREATEing SolrCore 'new_core': Unable to create core [new_core]
>     > Caused by:
>     > QueryElevationComponent missing config file: 'elevate.xml either:
>     > /var/solr/data/new_core/conf/elevate.xml or
>     > /var/solr/data/new_core/data/elevate.xml must exist, but not both.
>     >
>     > Intermittently I see the following error first with the above error
>     > appearing
>     > "behind" it:
>     >
>     > Connection to Solr lost
>     >
>     > Please can anyone tell me what I've done wrong?
>     >
>     > "elevate.xml" doesn't exist anywhere in /var/solr/data/new_core but I'm
>     > presuming this should be being automatically created as part of this
>     > process
>     > using the one in /opt/solr/server/resources (which does exist).
>     > Directory
>     > /var/solr/data/new_core/conf doesn't get created at all but
>     > /var/solr/data/new_core/data does.
>     >
>     > I can't see anything obvious in the log apart from the above error.
>     >
>     > Solr 6.3.0 on Fedora 25 with OpenJDK 1.8.0_111.
>     >
>     > Thanks,
>     >
>     > Leon Stringer
> 

Reply via email to