Checks the internal cache for an appropriate entry, and if none
is found reads the terms out of
CopyC# and calls the given SortComparator
to get the sort values. A hit in the cache will happen if
CopyC#,
CopyC#, and
CopyC# are the same (using
CopyC#)
as a previous call to this method.
Namespace: Lucene.Net.Search
field

reader

field

comparator

equals()
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Please implement FieldComparatorSource directly, instead.")] IComparable[] GetCustom( IndexReader reader, string field, SortComparator comparator ) |
Visual Basic |
---|
<ObsoleteAttribute("Please implement FieldComparatorSource directly, instead.")> _ Function GetCustom ( _ reader As IndexReader, _ field As String, _ comparator As SortComparator _ ) As IComparable() |
Visual C++ |
---|
[ObsoleteAttribute(L"Please implement FieldComparatorSource directly, instead.")] array<IComparable^>^ GetCustom( IndexReader^ reader, String^ field, SortComparator^ comparator ) |
Parameters
- reader
- Type: Lucene.Net.Index..::..IndexReader
Used to get field values.
- field
- Type: System..::..String
Which field contains the values.
- comparator
- Type: Lucene.Net.Search..::..SortComparator
Used to convert terms into something to sort by.