Attempts to read multiple entries from the enumeration, up to length of docs. Document numbers are stored in docs, and term frequencies are stored in freqs. The freqs array must be as long as the docs array.

Returns the number of entries read. Zero is only returned when the stream has been exhausted.

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

Syntax

C#
int Read(
	int[] docs,
	int[] freqs
)
Visual Basic
Function Read ( _
	docs As Integer(), _
	freqs As Integer() _
) As Integer
Visual C++
int Read(
	array<int>^ docs, 
	array<int>^ freqs
)

Parameters

docs
Type: array<System..::..Int32>[]()[][]

[Missing <param name="docs"/> documentation for "M:Lucene.Net.Index.TermDocs.Read(System.Int32[],System.Int32[])"]

freqs
Type: array<System..::..Int32>[]()[][]

[Missing <param name="freqs"/> documentation for "M:Lucene.Net.Index.TermDocs.Read(System.Int32[],System.Int32[])"]

Return Value

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

See Also