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
This commit is contained in:
Michael Sokolov 2017-08-25 08:38:36 -04:00 committed by Mike McCandless
parent 803b436fda
commit 2adec432f1
1 changed files with 2 additions and 0 deletions

View File

@ -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);