|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.Filter com.atlassian.confluence.search.lucene.filter.SpaceFilter
public class SpaceFilter
Filters content that is in, or not in given space(s).
Constructor Summary | |
---|---|
SpaceFilter(Collection<String> spaceKeys)
Include only content in any of the given spaces. |
|
SpaceFilter(Collection<String> spaceKeys,
boolean negate)
Filter content according to given spaces. |
|
SpaceFilter(String spaceKey)
Include only content that is in the given space |
|
SpaceFilter(String spaceKey,
boolean negate)
|
Method Summary | |
---|---|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceFilter(Collection<String> spaceKeys, boolean negate)
negate
- if true, will remove content in the given spaces.
if false, filter will remove content not in the given spaces.public SpaceFilter(Collection<String> spaceKeys)
public SpaceFilter(String spaceKey)
public SpaceFilter(String spaceKey, boolean negate)
SpaceFilter(Collection, boolean)
Method Detail |
---|
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws IOException
getDocIdSet
in class org.apache.lucene.search.Filter
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |