[
https://issues.apache.org/jira/browse/SOLR-15333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416078#comment-17416078
]
Steffen Moldenhauer commented on SOLR-15333:
--------------------------------------------
Added [^SOLR-15333.patch] that avoids to
args.putAll(FIELD_TYPE_INVARIANTS);
but keep the Warnings and Exceptions at misconfiguration
(BadIndexSchemaTest.testDateRangeFieldWithInvalidOptions)
hard-coded properties are set to the FieldType properties directly
> Solr-demo in docker uses improper configuration for
> SpatialRecursivePrefixTreeFieldType
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-15333
> URL: https://issues.apache.org/jira/browse/SOLR-15333
> Project: Solr
> Issue Type: Task
> Affects Versions: 8.8.2
> Reporter: Mike Drob
> Assignee: David Smiley
> Priority: Major
> Attachments: SOLR-15333.patch
>
>
> 4/13/2021, 4:54:42 PM
> WARN false
> x:demo
> AbstractSpatialPrefixTreeFieldType
> FieldType SpatialRecursivePrefixTreeFieldType does not allow omitNorms to be
> specified in schema,​ hardcoded behavior is omitNorms=true
> 4/13/2021, 4:54:42 PM
> WARN false
> x:demo
> AbstractSpatialPrefixTreeFieldType
> FieldType SpatialRecursivePrefixTreeFieldType does not allow
> omitTermFreqAndPositions to be specified in schema,​ hardcoded behavior
> is omitTermFreqAndPositions=true
> 4/13/2021, 4:54:42 PM
> When running solr-demo with our docker images, we get a bunch of warnings:
> {noformat}
> FieldType SpatialRecursivePrefixTreeFieldType does not allow omitNorms to be
> specified in schema,​ hardcoded behavior is omitNorms=true
> FieldType SpatialRecursivePrefixTreeFieldType does not allow
> omitTermFreqAndPositions to be specified in schema,​ hardcoded behavior
> is omitTermFreqAndPositions=true
> FieldType SpatialRecursivePrefixTreeFieldType does not allow termOffsets to
> be specified in schema,​ hardcoded behavior is termOffsets=false
> FieldType SpatialRecursivePrefixTreeFieldType does not allow termPositions to
> be specified in schema,​ hardcoded behavior is termPositions=false
> FieldType SpatialRecursivePrefixTreeFieldType does not allow omitPositions to
> be specified in schema,​ hardcoded behavior is omitPositions=true
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]