lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1516773 - in /lucene/dev/trunk/lucene: CHANGES.txt core/src/java/org/apache/lucene/search/CachingWrapperFilter.java
Date Fri, 23 Aug 2013 09:21:21 GMT
Author: jpountz
Date: Fri Aug 23 09:21:21 2013
New Revision: 1516773

URL: http://svn.apache.org/r1516773
Log:
LUCENE-5186: Added CachingWrapperFilter.getFilter.

Modified:
    lucene/dev/trunk/lucene/CHANGES.txt
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/CachingWrapperFilter.java

Modified: lucene/dev/trunk/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/CHANGES.txt?rev=1516773&r1=1516772&r2=1516773&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/CHANGES.txt (original)
+++ lucene/dev/trunk/lucene/CHANGES.txt Fri Aug 23 09:21:21 2013
@@ -104,6 +104,9 @@ New features
 * LUCENE-2750: Added PForDeltaDocIdSet, an in-memory doc id set implementation
   based on the PFOR encoding. (Adrien Grand)
 
+* LUCENE-5186: Added CachingWrapperFilter.getFilter in order to be able to get
+  the wrapped filter. (Trejkaz via Adrien Grand)
+
 Bug Fixes
 
 * LUCENE-5116: IndexWriter.addIndexes(IndexReader...) should drop empty (or all

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/CachingWrapperFilter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/CachingWrapperFilter.java?rev=1516773&r1=1516772&r2=1516773&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/CachingWrapperFilter.java
(original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/CachingWrapperFilter.java
Fri Aug 23 09:21:21 2013
@@ -49,6 +49,14 @@ public class CachingWrapperFilter extend
     this.filter = filter;
   }
 
+  /**
+   * Gets the contained filter.
+   * @return the contained filter.
+   */
+  public Filter getFilter() {
+    return filter;
+  }
+
   /** 
    *  Provide the DocIdSet to be cached, using the DocIdSet provided
    *  by the wrapped Filter. <p>This implementation returns the given {@link DocIdSet},



Mime
View raw message