mirror of https://github.com/apache/lucene.git
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:
parent
803b436fda
commit
2adec432f1
|
@ -31,6 +31,8 @@ import org.apache.lucene.index.IndexOptions;
|
||||||
* you add the document to IndexWriter.
|
* you add the document to IndexWriter.
|
||||||
*/
|
*/
|
||||||
public class FacetField extends Field {
|
public class FacetField extends Field {
|
||||||
|
|
||||||
|
/** Field type used for storing facet values: docs, freqs, and positions. */
|
||||||
public static final FieldType TYPE = new FieldType();
|
public static final FieldType TYPE = new FieldType();
|
||||||
static {
|
static {
|
||||||
TYPE.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS);
|
TYPE.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS);
|
||||||
|
|
Loading…
Reference in New Issue