Constructor SingleTermEnum
SingleTermEnum(IndexReader, Term)
Creates a new SingleTermEnum
.
After calling the constructor the enumeration is already pointing to the term, if it exists.
Declaration
public SingleTermEnum(IndexReader reader, Term singleTerm)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | |
Term | singleTerm |