org.apache.lucene.queryParser.surround.query
Class BasicQueryFactory
java.lang.Object
org.apache.lucene.queryParser.surround.query.BasicQueryFactory
public class BasicQueryFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicQueryFactory
public BasicQueryFactory(int maxBasicQueries)
BasicQueryFactory
public BasicQueryFactory()
getNrQueriesMade
public int getNrQueriesMade()
getMaxBasicQueries
public int getMaxBasicQueries()
newTermQuery
public TermQuery newTermQuery(Term term)
throws TooManyBasicQueries
- Throws:
TooManyBasicQueries
newSpanTermQuery
public SpanTermQuery newSpanTermQuery(Term term)
throws TooManyBasicQueries
- Throws:
TooManyBasicQueries