I added some fields to schema.xml.  I then use a custom extension of
UpdateRequestProcessor to add those fields to a document being indexed.
When I run the post command, I am getting an error because apparently Solr
is trying to add more fields over and above what I manually added.  Here is
the error:






*15726 ERROR (qtp1450821318-13) [   x:test] o.a.s.h.RequestHandlerBase
org.apache.solr.common.SolrException: This IndexSchema is not mutable.
at
org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.processAdd(AddSchemaFieldsUpdateProcessorFactory.java:271)
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:49)
at
org.apache.solr.update.processor.FieldMutatingUpdateProcessor.processAdd(FieldMutatingUpdateProcessor.java:118)*
Questions:

1) I thought Solr would only attempt to modify the schema when running in
managed schema mode, which I am not.  Why is Solr trying to modify
schema.xml?
2) What fields is it trying to add?  I confirmed that I manually added all
necessary fields to support my UpdateRequestProcessor extension.

Thanks for the help!

Reply via email to