lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject [2/2] lucene-solr:master: Make FacetField.TYPE public
Date Sun, 27 Aug 2017 09:45:52 GMT
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.

Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/803b436f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/803b436f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/803b436f

Branch: refs/heads/master
Commit: 803b436fda4c2914701b52aea31aa83b91539f1d
Parents: d640c92
Author: Michael Sokolov <sokolov@falutin.net>
Authored: Thu Aug 24 14:49:09 2017 -0400
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Sun Aug 27 05:45:22 2017 -0400

----------------------------------------------------------------------
 lucene/facet/src/java/org/apache/lucene/facet/FacetField.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/803b436f/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
----------------------------------------------------------------------
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 14dabf1..81dca56 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();


Mime
View raw message