|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.lucene.search.Filter
|
+--fr.gouv.culture.sdx.search.lucene.filter.AbstractFilter
Basic implementation for a SDX Filter. Abstract class necessary to facilitate a correct interface with the Lucene API
| Field Summary | |
protected org.apache.avalon.framework.logger.Logger |
logger
Avalon logger to write information. |
| Constructor Summary | |
AbstractFilter()
|
|
| Method Summary | |
abstract java.util.BitSet |
bits(org.apache.lucene.index.IndexReader r)
Applies the criteria and turns over the documents which satisfy it |
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger)
Set's the logger |
abstract void |
toSAX(org.xml.sax.ContentHandler hdl)
Returns a SAX representation of this filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.apache.avalon.framework.logger.Logger logger
| Constructor Detail |
public AbstractFilter()
| Method Detail |
public abstract java.util.BitSet bits(org.apache.lucene.index.IndexReader r)
FilterCriteria
bits in interface FilterCriteriabits in class org.apache.lucene.search.Filterr - The reader of the index.
public abstract void toSAX(org.xml.sax.ContentHandler hdl)
throws org.xml.sax.SAXException,
org.apache.cocoon.ProcessingException
toSAX in interface FilterCriteriahdl - The ContentHandler to which the events will be supplied.
org.xml.sax.SAXException
org.apache.cocoon.ProcessingExceptionpublic void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledlogger - The logger to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||