Permalink
Browse files

Ensure norms are not emitted when applying an index-time boost

  • Loading branch information...
Robert Newson
Robert Newson committed Jun 20, 2012
1 parent 969a982 commit b8f064e06f94d8b06651b15a3489421d3d96e1cf
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/com/github/rnewson/couchdb/lucene/couchdb/FieldType.java
@@ -177,6 +177,7 @@ private static Field field(final String name, final Object value, final ViewSett
}
private static <T extends AbstractField> T boost(final T field, final ViewSettings settings) {
+ field.setOmitNorms(false);
field.setBoost(settings.getBoost());
return field;
}

0 comments on commit b8f064e

Please sign in to comment.