public class BasicQueryFactory extends Object
Constructor and Description |
---|
BasicQueryFactory() |
BasicQueryFactory(int maxBasicQueries) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkMax() |
boolean |
equals(Object obj)
Two BasicQueryFactory's are equal when they generate
the same types of basic queries, or both cannot generate queries anymore.
|
int |
getMaxBasicQueries() |
int |
getNrQueriesMade() |
int |
hashCode() |
SpanTermQuery |
newSpanTermQuery(Term term) |
TermQuery |
newTermQuery(Term term) |
String |
toString() |
public BasicQueryFactory(int maxBasicQueries)
public BasicQueryFactory()
public int getNrQueriesMade()
public int getMaxBasicQueries()
protected void checkMax() throws TooManyBasicQueries
TooManyBasicQueries
public TermQuery newTermQuery(Term term) throws TooManyBasicQueries
TooManyBasicQueries
public SpanTermQuery newSpanTermQuery(Term term) throws TooManyBasicQueries
TooManyBasicQueries
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.