Skip to content

Commit

Permalink
Numeric values always omit norms (boosting), regardless of the config…
Browse files Browse the repository at this point in the history
…uration set, closes #1020.
  • Loading branch information
kimchy committed Jun 12, 2011
1 parent fd80fcb commit d4d8052
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -228,7 +228,7 @@ public CustomNumericField(NumberFieldMapper mapper, byte[] value) {
isIndexed = mapper.indexed();
isTokenized = mapper.indexed();
omitTermFreqAndPositions = true;
omitNorms = true;
omitNorms = mapper.omitNorms();

if (value != null) {
isStored = true;
Expand Down

0 comments on commit d4d8052

Please sign in to comment.