You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Zheng Lin Edwin Yeo <ed...@gmail.com> on 2015/03/17 08:30:49 UTC

Using physical schema.xml (ClassicIndexSchemaFactory) in Solr 5.0

Hi everyone,

I've changed from the default schemaFactory
class="ManagedIndexSchemaFactory" to using the ClassicIndexSchemaFactory.

However, I'm getting the exception on *org.apache.solr.common.SolrException:
This IndexSchema is not mutable*, when I try to do the indexing.

Is there other settings that I need to change so that I can use the
physical schema.xml (the ClassicIndexSchemaFactory) instead of using the
ManagedIndexSchemaFactory?


Regards,
Edwin

Re: Using physical schema.xml (ClassicIndexSchemaFactory) in Solr 5.0

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi Alex,

Thanks for the information. The file got indexed correctly according to the
physical schema.xml when I use the conf from the techproducts example.

Regards,
Edwin


On 17 March 2015 at 21:56, Alexandre Rafalovitch <ar...@gmail.com> wrote:

> You might be better off starting with techproducts example instead of
> schemaless, if physical schema is what you actually want.
>
> You are probably hitting an issue with UpdateRequestProcessor chain
> that tries to automatically create fields.
>
> Regards,
>    Alex.
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/
>
>
> On 17 March 2015 at 03:30, Zheng Lin Edwin Yeo <ed...@gmail.com>
> wrote:
> > Hi everyone,
> >
> > I've changed from the default schemaFactory
> > class="ManagedIndexSchemaFactory" to using the ClassicIndexSchemaFactory.
> >
> > However, I'm getting the exception on
> *org.apache.solr.common.SolrException:
> > This IndexSchema is not mutable*, when I try to do the indexing.
> >
> > Is there other settings that I need to change so that I can use the
> > physical schema.xml (the ClassicIndexSchemaFactory) instead of using the
> > ManagedIndexSchemaFactory?
> >
> >
> > Regards,
> > Edwin
>

Re: Using physical schema.xml (ClassicIndexSchemaFactory) in Solr 5.0

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
You might be better off starting with techproducts example instead of
schemaless, if physical schema is what you actually want.

You are probably hitting an issue with UpdateRequestProcessor chain
that tries to automatically create fields.

Regards,
   Alex.
----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 17 March 2015 at 03:30, Zheng Lin Edwin Yeo <ed...@gmail.com> wrote:
> Hi everyone,
>
> I've changed from the default schemaFactory
> class="ManagedIndexSchemaFactory" to using the ClassicIndexSchemaFactory.
>
> However, I'm getting the exception on *org.apache.solr.common.SolrException:
> This IndexSchema is not mutable*, when I try to do the indexing.
>
> Is there other settings that I need to change so that I can use the
> physical schema.xml (the ClassicIndexSchemaFactory) instead of using the
> ManagedIndexSchemaFactory?
>
>
> Regards,
> Edwin