pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.search
Class SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by org.torweg.pulse.util.search.SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SitemapNodeDurationFilterFactory

public static class SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter
extends org.apache.lucene.search.Filter

The filter checking whether the the documents are part of the given sections.

Version:
$Revision: 1415 $
Author:
Thomas Weber
See Also:
Serialized Form

Constructor Summary
SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter()
          creates a new filter for the given set of roles.
 
Method Summary
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
          does the actual filtering.
 
Methods inherited from class org.apache.lucene.search.Filter
bits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter

public SitemapNodeDurationFilterFactory.SitemapNodeValidityFilter()
creates a new filter for the given set of roles.

Method Detail

getDocIdSet

public final org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                                    throws java.io.IOException
does the actual filtering.

Overrides:
getDocIdSet in class org.apache.lucene.search.Filter
Parameters:
reader - the index reader
Returns:
a bit set with the results to be included
Throws:
java.io.IOException - on errors accessing the index
See Also:
Filter.getDocIdSet(org.apache.lucene.index.IndexReader)