fr.gouv.culture.sdx.search.lucene.filter
Interface FilterCriteria

All Superinterfaces:
org.apache.excalibur.xml.sax.XMLizable
All Known Implementing Classes:
AbstractFilter, Criteria, Filter

public interface FilterCriteria
extends org.apache.excalibur.xml.sax.XMLizable

Interface for the classes which define filters. Primarily, this interface defines a method making it possible to turn over BitSet of the documents admitted according to this criteria.


Method Summary
 java.util.BitSet bits(org.apache.lucene.index.IndexReader r)
          Applies the criteria and turns over the documents which satisfy it
 
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable
toSAX
 

Method Detail

bits

java.util.BitSet bits(org.apache.lucene.index.IndexReader r)
Applies the criteria and turns over the documents which satisfy it

Parameters:
r - The reader of the index.


Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.