[
https://issues.apache.org/jira/browse/SOLR-15333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-15333:
--------------------------------
Attachment: SOLR-15333_test.patch
Assignee: Mike Drob (was: David Smiley)
Status: Open (was: Open)
I spent some time looking at this to understand the root cause -- found it:
SOLR-14859 and how to test it. I've attached a patch for the test. Basically,
we want Solr's Schema REST API to not have these attributes that were not
actually there to begin with.
> 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: Mike Drob
> Priority: Major
> Attachments: SOLR-15333.patch, SOLR-15333.patch, SOLR-15333_test.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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]