Method SeekCeil
SeekCeil(BytesRef)
Seeks to the specified term, if it exists, or to the next (ceiling) term. Returns TermsEnum.SeekStatus to indicate whether exact term was found, a different term was found, or EOF was hit. The target term may be before or after the current term. If this returns END, the enum is unpositioned.
Declaration
public abstract TermsEnum.SeekStatus SeekCeil(BytesRef text)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | text |
Returns
Type | Description |
---|---|
TermsEnum.SeekStatus |