Constructor SingleTermsEnum
SingleTermsEnum(TermsEnum, BytesRef)
Creates a new SingleTermsEnum.
After calling the constructor the enumeration is already pointing to the term, if it exists.
Declaration
public SingleTermsEnum(TermsEnum tenum, BytesRef termText)
Parameters
Type | Name | Description |
---|---|---|
TermsEnum | tenum | |
BytesRef | termText |