Method LoadFieldValues
LoadFieldValues(IndexSearcher, String[], Int32[], Int32)
Loads the string values for each field X docID to be
highlighted. By default this loads from stored
fields, but a subclass can change the source. This
method should allocate the string[fields.length][docids.length]
and fill all values. The returned strings must be
identical to what was indexed.
Declaration
protected virtual string[][] LoadFieldValues(IndexSearcher searcher, string[] fields, int[] docids, int maxLength)
Parameters
Type |
Name |
Description |
IndexSearcher |
searcher |
|
System.String[] |
fields |
|
System.Int32[] |
docids |
|
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String[][] |
|