Method SeekExact
SeekExact(BytesRef)
Attempts to seek to the exact term, returning
true
if the term is found. If this returns false
, the
enum is unpositioned. For some codecs, Seek
Declaration
public virtual bool SeekExact(BytesRef text)
Parameters
Type | Name | Description |
---|---|---|
Bytes |
text |
Returns
Type | Description |
---|---|
System. |
SeekExact(Int64)
Seeks to the specified term by ordinal (position) as
previously returned by Ord. The target ord
may be before or after the current ord, and must be
within bounds.
Declaration
public abstract void SeekExact(long ord)
Parameters
Type | Name | Description |
---|---|---|
System. |
ord |
SeekExact(BytesRef, TermState)
Expert: Seeks a specific position by Term
Seeking by Term
NOTE: Using this method with an incompatible Term
NOTE: A seek by Term
Declaration
public virtual void SeekExact(BytesRef term, TermState state)