Apache Lucene open-source search software
Don't mention BitSet in DocIdSet.isCacheable() documentation, since CachingWrapperFilter doesn't use BitSets for caching anymore (fix suggested by Paul Elschot).
Adrien Grande7f2780cfbc9
diff --git a/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java b/lucene/core/src/java/org/apache/lucene/search/DocIdSet.javaindex eddbe6dcf19..f6a4dd90b90 100644--- a/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java+++ b/lucene/core/src/java/org/apache/lucene/search/DocIdSet.java@@ -50,7 +50,7 @@ public abstract class DocIdSet {/*** This method is a hint for {@link CachingWrapperFilter}, if this <code>DocIdSet</code>- * should be cached without copying it into a BitSet. The default is to return+ * should be cached without copying it. The default is to return* <code>false</code>. If you have an own <code>DocIdSet</code> implementation* that does its iteration very effective and fast without doing disk I/O,* override this method and return <code>true</code>.