mirror of https://github.com/apache/lucene.git
LUCENE-5186: Added CachingWrapperFilter.getFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6318fab03
commit
43af17b7b4
|
@ -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
|
||||
|
|
|
@ -49,6 +49,14 @@ public class CachingWrapperFilter extends Filter {
|
|||
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},
|
||||
|
|
Loading…
Reference in New Issue