Constructor and Description |
---|
AssertingSpanQuery(SpanQuery in) |
Modifier and Type | Method and Description |
---|---|
Query |
clone() |
SpanWeight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object obj) |
protected void |
extractTerms(Set<Term> terms) |
float |
getBoost() |
String |
getField() |
Spans |
getSpans(LeafReaderContext context,
Bits acceptDocs,
Map<Term,TermContext> termContexts) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setBoost(float b) |
String |
toString(String field) |
public AssertingSpanQuery(SpanQuery in)
protected void extractTerms(Set<Term> terms)
extractTerms
in class SpanQuery
public Spans getSpans(LeafReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts) throws IOException
getSpans
in class SpanQuery
IOException
public SpanWeight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class SpanQuery
IOException
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.