Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-6911: remove deprecated, no-op StandardQueryParser.getMultiFields(CharSequence[] fields) method.

Christine Poerschke0745c12a902b
diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.java b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.java
index 76b58fe621b..27338004aa2 100644
--- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.java
+++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.java
@@ -292,18 +292,6 @@ public class StandardQueryParser extends QueryParserHelper implements CommonQuer
getQueryConfigHandler().set(ConfigurationKeys.MULTI_FIELDS, fields);
}
-
- /**
- * Returns the fields used to expand the query when the field for a
- * certain query is <code>null</code>
- *
- * @param fields the fields used to expand the query
- * @deprecated Use StandardQueryParser#getMultiFields() instead.
- */
- @Deprecated
- public void getMultiFields(CharSequence[] fields) {
- getQueryConfigHandler().get(ConfigurationKeys.MULTI_FIELDS);
- }
/**
* Returns the fields used to expand the query when the field for a