Skips to the first match beyond the current whose document number is greater than or equal to a given target.
The implementation uses {@link TermDocs#SkipTo(int)}.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("use Advance(int) instead.")]
public override bool SkipTo(
	int target
)
Visual Basic
<ObsoleteAttribute("use Advance(int) instead.")> _
Public Overrides Function SkipTo ( _
	target As Integer _
) As Boolean
Visual C++
[ObsoleteAttribute(L"use Advance(int) instead.")]
public:
virtual bool SkipTo(
	int target
) override

Parameters

target
Type: System..::..Int32
The target document number.

Return Value

true iff there is such a match.

See Also