Skip to content

Commit

Permalink
Fix removing norms for PointFields
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonPutman committed Jan 27, 2025
1 parent a8ccbb0 commit 68b3568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solr/core/src/java/org/apache/solr/schema/PointField.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected void init(IndexSchema schema, Map<String, String> args) {
args.remove("precisionStep");
}
// Point fields do not support norms
properties &= OMIT_NORMS;
properties |= OMIT_NORMS;
}

@Override
Expand Down

0 comments on commit 68b3568

Please sign in to comment.