com.atlassian.confluence.search.lucene.filter
Class FiltersContainer

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by com.atlassian.confluence.search.lucene.filter.FiltersContainer
All Implemented Interfaces:
Serializable

Deprecated. since 2.10. The introduction of ChainedFilter into Lucene has made this class redundant.

@Deprecated
public class FiltersContainer
extends org.apache.lucene.search.Filter

Allows multiple Filters to be stored in an Object that looks like a Filter. Yes, this is horribly ugly. It is only understood by the org.apache.lucene.search.DateFilterScoringSearcher. Its role in life is to allow multiple Filters to be passed into an interface method that allows only one Filter. The order of the added filters is preserved.

See Also:
Serialized Form

Constructor Summary
FiltersContainer()
          Deprecated.  
 
Method Summary
 void addFilter(org.apache.lucene.search.Filter filter)
          Deprecated. Add a Filter to the end of the list.
 BitSet bits(org.apache.lucene.index.IndexReader reader)
          Deprecated. Throws an UnsupportedOperationException
 List getFilters()
          Deprecated. Get the list of Filters within this "Filter".
 int size()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FiltersContainer

public FiltersContainer()
Deprecated. 
Method Detail

bits

public BitSet bits(org.apache.lucene.index.IndexReader reader)
            throws IOException
Deprecated. 
Throws an UnsupportedOperationException

Specified by:
bits in class org.apache.lucene.search.Filter
Throws:
IOException

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

getFilters

public List getFilters()
Deprecated. 
Get the list of Filters within this "Filter".

Returns:
the list of Filters
See Also:
org.apache.lucene.search.DateFilterScoringSearcher

addFilter

public void addFilter(org.apache.lucene.search.Filter filter)
Deprecated. 
Add a Filter to the end of the list.


size

public int size()
Deprecated. 


Copyright © 2003-2011 Atlassian. All Rights Reserved.