Constructor TermQuery
TermQuery(Term)
Constructs a query for the term t
.
Declaration
public TermQuery(Term t)
Parameters
Type | Name | Description |
---|---|---|
Term | t |
TermQuery(Term, Int32)
Expert: constructs a TermQuery that will use the
provided docFreq
instead of looking up the docFreq
against the searcher.
Declaration
public TermQuery(Term t, int docFreq)
Parameters
Type | Name | Description |
---|---|---|
Term | t | |
System.Int32 | docFreq |
TermQuery(Term, TermContext)
Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.
Declaration
public TermQuery(Term t, TermContext states)
Parameters
Type | Name | Description |
---|---|---|
Term | t | |
TermContext | states |