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 <forbookm...@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
>

Reply via email to