diff --git a/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java b/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java index 81dca56a0d7..6d4d63399fd 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java @@ -31,6 +31,8 @@ import org.apache.lucene.index.IndexOptions; * you add the document to IndexWriter. */ public class FacetField extends Field { + + /** Field type used for storing facet values: docs, freqs, and positions. */ public static final FieldType TYPE = new FieldType(); static { TYPE.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS);