Returns an object which, when sorted according to natural order,
will order the Term values in the correct order.
For example, if the Terms contained integer values, this method
would return
CopyC#
. Note that this
might not always be the most efficient implementation - for this
particular example, a better implementation might be to make a
ScoreDocLookupComparator that uses an internal lookup table of int.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Visual Basic |
---|
Public MustOverride Function GetComparable ( _
termtext As String _
) As IComparable |
Return Value
An object representing
CopyC#
that sorts according to the natural order of
CopyC#
.
See Also