|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Query
org.modeshape.jcr.query.lucene.MatchNoneQuery
@Immutable public class MatchNoneQuery
A Lucene Query
implementation that always matches no documents.
Nested Class Summary | |
---|---|
protected static class |
MatchNoneQuery.NoneScorer
A scorer for the NOT query that iterates over documents (in increasing docId order), using the given scorer implementation for the operand of the NOT. |
protected class |
MatchNoneQuery.NoneWeight
Calculates query weights and builds query scores for our NOT queries. |
Constructor Summary | |
---|---|
MatchNoneQuery()
Construct a query that always returns no documents. |
Method Summary | |
---|---|
Object |
clone()
|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher)
|
String |
toString(String field)
|
Methods inherited from class org.apache.lucene.search.Query |
---|
combine, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, rewrite, setBoost, toString, weight |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatchNoneQuery()
Method Detail |
---|
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher)
createWeight
in class org.apache.lucene.search.Query
Query.createWeight(org.apache.lucene.search.Searcher)
public Object clone()
clone
in class org.apache.lucene.search.Query
Query.clone()
public String toString(String field)
toString
in class org.apache.lucene.search.Query
Query.toString(java.lang.String)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |