mirror of https://github.com/apache/lucene.git
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
This commit is contained in:
commit
869fc53b7e
|
@ -31,7 +31,9 @@ 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 {
|
||||||
static final FieldType TYPE = new FieldType();
|
|
||||||
|
/** Field type used for storing facet values: docs, freqs, and positions. */
|
||||||
|
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);
|
||||||
TYPE.freeze();
|
TYPE.freeze();
|
||||||
|
|
Loading…
Reference in New Issue