0

I want to prevent the /update/extract request from adding new fields to the schema.xml like "media_white_point"... I tried to add the update processor IgnoreFieldUpdateProcessorFactory to the "UpdateRequestProcessorChain" which includes deduplication & signature processors, by writing this:

<processor class="solr.IgnoreFieldUpdateProcessorFactory" />

And didn't work as it should; since here they say that

By default, this processor ignores any field name which does not exist according to the schema

I appreciate any help, thanks.

  • 1
    If you don't want new fields to be created, you should probably [disable the creation of new fields instead](https://lucene.apache.org/solr/guide/7_0/schemaless-mode.html#disabling-automatic-field-guessing)? – MatsLindh Aug 28 '18 at 12:40
  • I tried to add this: false to the /update/extract request in solr config and didn't work. Knowing that I am using a java application with solrj to connect & request solr. – user3420018 Aug 29 '18 at 04:06
  • It's not a parameter to the update request handler, but a configuration option set through the Config API. – MatsLindh Aug 29 '18 at 07:03
  • Is there a way to add it in solrConfig.xml? – user3420018 Aug 29 '18 at 11:35

0 Answers0