You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2020/06/26 18:58:50 UTC

[lucene-solr] branch jira/lucene-8962 updated: LUCENE-8962: remove ghost EnumSet code

This is an automated email from the ASF dual-hosted git repository.

mikemccand pushed a commit to branch jira/lucene-8962
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/jira/lucene-8962 by this push:
     new 478fe9c  LUCENE-8962: remove ghost EnumSet code
478fe9c is described below

commit 478fe9c681092f4cf1020a51b7a50fa24eb80db5
Author: Mike McCandless <mi...@apache.org>
AuthorDate: Fri Jun 26 14:57:23 2020 -0400

    LUCENE-8962: remove ghost EnumSet code
---
 .../core/src/java/org/apache/lucene/index/IndexWriterConfig.java   | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
index 95c4044..f44f098 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
@@ -478,13 +478,6 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig {
     return this;
   }
 
-  /** We only allow sorting on these types */
-  private static final EnumSet<SortField.Type> ALLOWED_INDEX_SORT_TYPES = EnumSet.of(SortField.Type.STRING,
-                                                                                     SortField.Type.LONG,
-                                                                                     SortField.Type.INT,
-                                                                                     SortField.Type.DOUBLE,
-                                                                                     SortField.Type.FLOAT);
-
   /**
    * Set the {@link Sort} order to use for all (flushed and merged) segments.
    */