Package org.apache.lucene.queries
Class SpanMatchNoDocsQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.spans.SpanQuery
org.apache.lucene.queries.SpanMatchNoDocsQuery
public class SpanMatchNoDocsQuery
extends org.apache.lucene.search.spans.SpanQuery
A
SpanQuery
that matches no documents.-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.search.spans.SpanQuery
getTermStates, getTermStates
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString, visit
-
Constructor Details
-
SpanMatchNoDocsQuery
-
-
Method Details
-
getField
- Specified by:
getField
in classorg.apache.lucene.search.spans.SpanQuery
-
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
equals
- Specified by:
equals
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()- Specified by:
hashCode
in classorg.apache.lucene.search.Query
-
createWeight
public org.apache.lucene.search.spans.SpanWeight createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) throws IOException- Specified by:
createWeight
in classorg.apache.lucene.search.spans.SpanQuery
- Throws:
IOException
-