Constructor and Description |
---|
AssertingQuery(Random random,
Query in)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Query |
clone() |
Weight |
createWeight(IndexSearcher searcher) |
boolean |
equals(Object obj) |
void |
extractTerms(Set<Term> terms) |
float |
getBoost() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setBoost(float b) |
String |
toString(String field) |
static Query |
wrap(Random random,
Query query)
Wrap a query if necessary.
|
public Weight createWeight(IndexSearcher searcher) throws IOException
createWeight
in class Query
IOException
public void extractTerms(Set<Term> terms)
extractTerms
in class Query
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.