Skip to content

Apache Lucene open-source search software

SOLR-13596: remove deprecated groupSpec methods

Munendra S N96860eb18198
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 7f1fc101aef..862248cd625 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -55,6 +55,8 @@ Upgrade Notes
regardless of distrib, terms.list, terms.ttf parameters. This affects JSON based response format but not others
(Munendra S N, Mikhail Khludnev)
+* SOLR-13596: Deprecated GroupingSpecification methods are removed. (Munendra S N)
+
================== 8.2.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/grouping/GroupingSpecification.java b/solr/core/src/java/org/apache/solr/search/grouping/GroupingSpecification.java
index e1e276e5a28..f390aaa5fa9 100644
--- a/solr/core/src/java/org/apache/solr/search/grouping/GroupingSpecification.java
+++ b/solr/core/src/java/org/apache/solr/search/grouping/GroupingSpecification.java
@@ -16,7 +16,6 @@
*/
package org.apache.solr.search.grouping;
-import org.apache.lucene.search.Sort;
import org.apache.solr.search.Grouping;
import org.apache.solr.search.SortSpec;
@@ -74,50 +73,6 @@ public class GroupingSpecification {
this.functions = functions;
}
- @Deprecated
- public int getWithinGroupOffset() {
- return withinGroupSortSpec.getOffset();
- }
- @Deprecated
- public int getGroupOffset() {
- return getWithinGroupOffset();
- }
-
-
- @Deprecated
- public int getWithinGroupLimit() {
- return withinGroupSortSpec.getCount();
- }
-
- @Deprecated
- public int getGroupLimit() {
- return getWithinGroupLimit();
- }
-
-
- @Deprecated
- public int getOffset() {
- return groupSortSpec.getOffset();
- }
-
-
- @Deprecated
- public int getLimit() {
- return groupSortSpec.getCount();
- }
-
-
- @Deprecated
- public Sort getGroupSort() {
- return groupSortSpec.getSort();
- }
-
-
- @Deprecated
- public Sort getSortWithinGroup() {
- return withinGroupSortSpec.getSort();
- }
-
public boolean isIncludeGroupCount() {
return includeGroupCount;
}