From 2adec432f1ec4fb664eca328a12fcaead37c39a5 Mon Sep 17 00:00:00 2001 From: Michael Sokolov Date: Fri, 25 Aug 2017 08:38:36 -0400 Subject: [PATCH] Added javadoc for TYPE field I tried to run ant precommit in a local lucene checkout to verify this would be OK, but I get this failure I don't understand: "ivy:cachepath doesn't support the nested 'dependency' element" Would you be able to check again? Thanks --- lucene/facet/src/java/org/apache/lucene/facet/FacetField.java | 2 ++ 1 file changed, 2 insertions(+) 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);