Skip to content

Apache Lucene open-source search software

SOLR-7162: Remove unused SolrSortField interface

Shalin Shekhar Mangarb2046cf20cb6
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 1ef271b0c3c..807ca0a46c5 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -340,6 +340,8 @@ Other Changes
* SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor.
(shalin)
+* SOLR-7162: Remove unused SolrSortField interface. (yonik, Connor Warrington via shalin)
+
================== 5.0.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/core/src/java/org/apache/solr/search/SolrSortField.java b/solr/core/src/java/org/apache/solr/search/SolrSortField.java
deleted file mode 100644
index 0e58c69b4a4..00000000000
--- a/solr/core/src/java/org/apache/solr/search/SolrSortField.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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.
- */
-
-
-package org.apache.solr.search;
-
-import org.apache.lucene.search.IndexSearcher;
-import org.apache.lucene.search.SortField;
-
-import java.io.IOException;
-
-/**@lucene.internal
- *
- */
-public interface SolrSortField {
- public SortField weight(IndexSearcher searcher) throws IOException;
-}