lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddhartha Singh Sandhu <sandhus...@gmail.com>
Subject Re: load schema.xml
Date Wed, 18 May 2016 18:00:23 GMT
Hi,

Add the following to your solrconfig.xml:

  <schemaFactory class="ClassicIndexSchemaFactory"/>

in place of:

 <schemaFactory class="ManagedIndexSchemaFactory">

because solr 6.0.0 defaults to managed schema.

First time answering and not questioning. Community, please correct me if I
am wrong.

Sid.

On Wed, May 18, 2016 at 8:48 AM, forme book <forbookmail@gmail.com> wrote:

> Hi,
>
> I'm using solr 6.0.0 and I've some trouble to load custom schema.xml
> After create a new collection with  bin/solr create -c newcollection -d
> basic_configs and copy my costum schema.xml under
> {solr_home}/server/newcollection/conf
>
> I try to load some data with java -Dtype=text/csv -Durl=
> http://localhost:8983/solr/newcollection/update -jar post.jar  books.csv
> but it not found a field declared in schema.xml.
> Indeed controlling from webconsole that field doesn't exists, obviously
> placing Manually field there is no problem.
>
> What I need to configure to allow you to upload the file directly ? Then
> where are stored the field added from webconsole ?
>
>
> Thanks for help
>
> Regards
>
> Richard
>

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