@Deprecated public class

FiltersContainer

extends Filter
java.lang.Object
   ↳ org.apache.lucene.search.Filter
     ↳ com.atlassian.confluence.search.lucene.filter.FiltersContainer

This class is deprecated.
since 2.10. The introduction of org.apache.lucene.misc.ChainedFilter into Lucene has made this class redundant.

Class Overview

Allows multiple org.apache.lucene.search.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.

Summary

Public Constructors
FiltersContainer()
Public Methods
void addFilter(Filter filter)
Add a Filter to the end of the list.
BitSet bits(IndexReader reader)
Throws an UnsupportedOperationException
List getFilters()
Get the list of Filters within this "Filter".
int size()
String toString()
[Expand]
Inherited Methods
From class org.apache.lucene.search.Filter
From class java.lang.Object

Public Constructors

public FiltersContainer ()

Public Methods

public void addFilter (Filter filter)

Add a Filter to the end of the list.

public BitSet bits (IndexReader reader)

Throws an UnsupportedOperationException

Throws
IOException

public List getFilters ()

Get the list of Filters within this "Filter".

Returns
See Also
  • org.apache.lucene.search.DateFilterScoringSearcher

public int size ()

public String toString ()