public SpanTermQuery newSpanTermQuery(Term term) throws TooManyBasicQueries {checkMax();return new SpanTermQuery(term);}
public virtual SpanTermQuery NewSpanTermQuery(Term term){CheckMax();return new SpanTermQuery(term);}