diff --git a/CHANGES.txt b/CHANGES.txt index d9191a5bafa..39a96f7f180 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -267,11 +267,9 @@ New Features HTMLStripStandardTokenizerFactory deprecated. To strip HTML tags, HTMLStripCharFilter can be used with an arbitrary Tokenizer. (koji) -68. SOLR-1367: Added callback mechanism for converting DocList to SolrDocumentList in SolrPluginUtils (gsingers) +68. SOLR-1275: Add expungeDeletes to DirectUpdateHandler2 (noble) -69. SOLR-1275: Add expungeDeletes to DirectUpdateHandler2 (noble) - -70. SOLR-1372: Enhance FieldAnalysisRequestHandler to accept field value from content stream (ehatcher) +69. SOLR-1372: Enhance FieldAnalysisRequestHandler to accept field value from content stream (ehatcher) Optimizations diff --git a/src/java/org/apache/solr/util/SolrDocumentModifier.java b/src/java/org/apache/solr/util/SolrDocumentModifier.java deleted file mode 100644 index 49ab5da6bd7..00000000000 --- a/src/java/org/apache/solr/util/SolrDocumentModifier.java +++ /dev/null @@ -1,37 +0,0 @@ -package org.apache.solr.util; -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import org.apache.solr.common.SolrDocument; - - -/** - * Callback capability for modifying a SolrDocument in the {@link SolrPluginUtils#docListToSolrDocumentList(org.apache.solr.search.DocList, org.apache.solr.search.SolrIndexSearcher, java.util.Set, java.util.Map)} - * - *
- * NOTE: This API is subject to change. - * Due to https://issues.apache.org/jira/browse/SOLR-1298 and https://issues.apache.org/jira/browse/SOLR-705, this interface may change in the future. - * - **/ -public interface SolrDocumentModifier { - /** - * Implement this method to allow for changes to be made to the {@link org.apache.solr.common.SolrDocument} in the {@link SolrPluginUtils#docListToSolrDocumentList(org.apache.solr.search.DocList, org.apache.solr.search.SolrIndexSearcher, java.util.Set, SolrDocumentModifier, java.util.Map)} - * call. - * @param doc The {@link org.apache.solr.common.SolrDocument} that can be modified. - */ - void process(SolrDocument doc); -} diff --git a/src/java/org/apache/solr/util/SolrPluginUtils.java b/src/java/org/apache/solr/util/SolrPluginUtils.java index ae4a18445c5..800ba355c17 100644 --- a/src/java/org/apache/solr/util/SolrPluginUtils.java +++ b/src/java/org/apache/solr/util/SolrPluginUtils.java @@ -887,16 +887,6 @@ public class SolrPluginUtils { } } - - public static SolrDocumentList docListToSolrDocumentList( - DocList docs, - SolrIndexSearcher searcher, - Set