Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
8.6.3, 8.7, 8.8, 8.8.1, 8.8.2
-
None
-
None
-
RHEL 7.9 (3.10.0-1160)/Windows (10.1909)
OpenJDK 1.8.0.282
Description
Changes introduced by SOLR-14859 do not handle the scenario when the field is set to indexed=false. Forcing configurations to now index this field when it is not necessary.
The problem appears to be in
org.apache.solr.schema.AbstractSpatialPrefixTreeFieldType::checkSchemaField
When indexed=false, field.indexOptions() returns IndexOptions.NONE. If condition does not handle this.
I would also suggest lowering the logging level on some of the messages in setArgs(). Even when the options are not set in the schema definition, the defaults are causing the "warning" messages to be displayed. At best, these are informational, but, I don't find them particularly useful when the defaults or the specified values match the "required" settings.