Returns a new SegmentInfos containg the SegmentInfo instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first.

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

Syntax

C#
public SegmentInfos Range(
	int first,
	int last
)
Visual Basic
Public Function Range ( _
	first As Integer, _
	last As Integer _
) As SegmentInfos
Visual C++
public:
SegmentInfos^ Range(
	int first, 
	int last
)

Parameters

first
Type: System..::..Int32

[Missing <param name="first"/> documentation for "M:Lucene.Net.Index.SegmentInfos.Range(System.Int32,System.Int32)"]

last
Type: System..::..Int32

[Missing <param name="last"/> documentation for "M:Lucene.Net.Index.SegmentInfos.Range(System.Int32,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.Range(System.Int32,System.Int32)"]

See Also