Tom Davidson created SOLR-15403:
-----------------------------------
Summary: Non-indexed DateRangeField throw SolrException
Key: SOLR-15403
URL: https://issues.apache.org/jira/browse/SOLR-15403
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Schema and Analysis
Affects Versions: 8.8.2, 8.8.1, 8.8, 8.7, 8.6.3
Environment: RHEL 7.9 (3.10.0-1160)/Windows (10.1909)
OpenJDK 1.8.0.282
Reporter: Tom Davidson
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]