mirror of https://github.com/apache/lucene.git
Make FacetField.TYPE public
Everything else in the class is public, and all the other Field.TYPE constants are public. I want to use this in a field factory class.
This commit is contained in:
parent
d640c92b9f
commit
803b436fda
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue