| java.lang.Object |
| ↳ |
org.apache.lucene.search.Filter |
| |
↳ |
com.atlassian.confluence.search.lucene.filter.MultiTermFilter |
Class Overview
Lucene filter that finds documents that match any of the supplied org.apache.lucene.index.Term. (This filter
basically applies an OR operation on each of the terms.)
Summary
| Public Constructors |
|
|
MultiTermFilter()
Create a new MultiTermFilter with a default behaviour of not negating.
|
|
|
MultiTermFilter(boolean negating)
Create a new MultiTermFilter with control over whether it is negating or not.
|
|
[Expand]
Inherited Methods |
From class
org.apache.lucene.search.Filter
|
BitSet
|
bits(IndexReader arg0)
|
|
DocIdSet
|
getDocIdSet(IndexReader arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
MultiTermFilter
()
Create a new MultiTermFilter with a default behaviour of not negating.
public
MultiTermFilter
(boolean negating)
Create a new MultiTermFilter with control over whether it is negating or not.
Parameters
| negating
| if true then the filter will have a starting state of allowing all documents with any matching
terms causing that document not to match. If false, then the filter behaves as you would normally
expect with no documents being allowed unless they match the filter.
|
Public Methods
public
void
addTerm
(Term term)
Parameters
| term
| one of the terms to be part of the filter. |
public
BitSet
bits
(IndexReader reader)