|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Filter
com.jivesoftware.util.search.CachedFilter
public class CachedFilter
CachedFilter is an extension of Lucene's Filter class which caches the bitset result of the filter. This only works in conjunction with the above FilterCache since filter caching will return invalid or miss results if the search index is modified.
Constructor Summary | |
---|---|
CachedFilter(org.apache.lucene.search.Filter filter)
|
Method Summary | |
---|---|
java.util.BitSet |
bits(org.apache.lucene.index.IndexReader reader)
|
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedFilter(org.apache.lucene.search.Filter filter)
Method Detail |
---|
public java.util.BitSet bits(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
bits
in class org.apache.lucene.search.Filter
java.io.IOException
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |