[ https://issues.apache.org/jira/browse/SOLR-15333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492688#comment-17492688 ]
Steffen Moldenhauer commented on SOLR-15333: -------------------------------------------- i updated the original fix patch with a test that really will fail without the fix. There must be a Schema API request that actually manipulates the schema to see the attributes ( omitNorms, omitTermFreqAndPositions, ... ) are written to the field type. So I added a POST request to add the date range field with the schema API This requires that the schema is mutable. I was not able to get the TestFieldTypeResource schema mutable. So I moved the test to TestBulkSchemaAPI. Not sure if that's the right place. > 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-1.patch, 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org