Constructor and Description |
---|
RandomApproximationQuery(Query query,
Random random) |
Modifier and Type | Method and Description |
---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object other) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
classHash, sameClassAs, toString
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.