Method NewTermQuery
NewTermQuery(Term, TermContext)
Builds a new TermQuery instance.
This is intended for subclasses that wish to customize the generated queries.
Declaration
protected virtual Query NewTermQuery(Term term, TermContext context)
Parameters
Type | Name | Description |
---|---|---|
Term | term | term |
TermContext | context | the TermContext to be used to create the low level term query. Can be |
Returns
Type | Description |
---|---|
Query | new TermQuery instance |