Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in as integers and returns an array of
size of the value each document has in the
given field.
Namespace: Lucene.Net.SearchCopyC#
field
CopyC#
reader.maxDoc()
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
int[] GetInts( IndexReader reader, string field, IntParser parser ) |
Visual Basic |
---|
Function GetInts ( _ reader As IndexReader, _ field As String, _ parser As IntParser _ ) As Integer() |
Visual C++ |
---|
array<int>^ GetInts( IndexReader^ reader, String^ field, IntParser^ parser ) |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
Used to get field values.
- field
- Type: System..::..String
Which field contains the integers.
- parser
- Type: Lucene.Net.Search..::..IntParser
Computes integer for string values.