SOLR-13596: remove deprecated groupSpec methods

This commit is contained in:
Munendra S N 2019-07-03 20:44:27 +05:30
parent 2e3e6c5944
commit 96860eb181
2 changed files with 2 additions and 45 deletions

View File

@ -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.

View File

@ -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;
}