lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject lucene-solr:branch_7x: LUCENE-8059: Mark EarlyTerminatingSortingCollector as deprecated.
Date Fri, 01 Dec 2017 17:29:58 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 80930b97c -> 75520e8f2


LUCENE-8059: Mark EarlyTerminatingSortingCollector as deprecated.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/75520e8f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/75520e8f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/75520e8f

Branch: refs/heads/branch_7x
Commit: 75520e8f264c9c398d21b237de4c7d4ac5cdbcc6
Parents: 80930b9
Author: Adrien Grand <jpountz@gmail.com>
Authored: Fri Dec 1 18:29:18 2017 +0100
Committer: Adrien Grand <jpountz@gmail.com>
Committed: Fri Dec 1 18:29:18 2017 +0100

----------------------------------------------------------------------
 .../apache/lucene/search/EarlyTerminatingSortingCollector.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/75520e8f/lucene/core/src/java/org/apache/lucene/search/EarlyTerminatingSortingCollector.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/search/EarlyTerminatingSortingCollector.java
b/lucene/core/src/java/org/apache/lucene/search/EarlyTerminatingSortingCollector.java
index 623df65..42b8ec0 100644
--- a/lucene/core/src/java/org/apache/lucene/search/EarlyTerminatingSortingCollector.java
+++ b/lucene/core/src/java/org/apache/lucene/search/EarlyTerminatingSortingCollector.java
@@ -49,9 +49,9 @@ import org.apache.lucene.search.TotalHitCountCollector;
  * hit count} will be vastly underestimated since not all matching documents will have
  * been collected.
  *
- * @lucene.experimental
+ * @deprecated Pass trackTotalHits=false to {@link TopFieldCollector} instead of using this
class.
  */
-
+@Deprecated
 public class EarlyTerminatingSortingCollector extends FilterCollector {
 
   /** Returns whether collection can be early-terminated if it sorts with the


Mime
View raw message