Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in as shorts 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# |
---|
short[] GetShorts( IndexReader reader, string field, ShortParser parser ) |
Visual Basic |
---|
Function GetShorts ( _ reader As IndexReader, _ field As String, _ parser As ShortParser _ ) As Short() |
Visual C++ |
---|
array<short>^ GetShorts( IndexReader^ reader, String^ field, ShortParser^ parser ) |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
Used to get field values.
- field
- Type: System..::..String
Which field contains the shorts.
- parser
- Type: Lucene.Net.Search..::..ShortParser
Computes short for string values.