lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From munendr...@apache.org
Subject [lucene-solr] branch master updated: SOLR-13596: remove deprecated groupSpec methods
Date Wed, 03 Jul 2019 15:27:00 GMT
This is an automated email from the ASF dual-hosted git repository.

munendrasn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 96860eb  SOLR-13596: remove deprecated groupSpec methods
96860eb is described below

commit 96860eb18198492c09bad1731a77122225385a02
Author: Munendra S N <munendrasn@apache.org>
AuthorDate: Wed Jul 3 20:44:27 2019 +0530

    SOLR-13596: remove deprecated groupSpec methods
---
 solr/CHANGES.txt                                   |  2 +
 .../search/grouping/GroupingSpecification.java     | 45 ----------------------
 2 files changed, 2 insertions(+), 45 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 7f1fc10..862248c 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 e1e276e..f390aaa 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;
   }


Mime
View raw message