Skip to content

Apache Lucene open-source search software

Make FacetField.TYPE public

Michael Sokolov803b436fda4c
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 14dabf1e8db..81dca56a0d7 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
@@ -31,7 +31,7 @@ import org.apache.lucene.index.IndexOptions;
* you add the document to IndexWriter.
*/
public class FacetField extends Field {
- static final FieldType TYPE = new FieldType();
+ public static final FieldType TYPE = new FieldType();
static {
TYPE.setIndexOptions(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS);
TYPE.freeze();