Class MissingOrdRemapper
A utility class to write missing values for SORTED as if they were the empty string
(to simulate pre-Lucene4.5 dv behavior for testing old codecs).
Inheritance
MissingOrdRemapper
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class MissingOrdRemapper
Methods
InsertEmptyValue(IEnumerable<BytesRef>)
Insert an empty byte[] to the front of this enumerable.
Declaration
public static IEnumerable<BytesRef> InsertEmptyValue(IEnumerable<BytesRef> iterable)
Parameters
Returns
MapAllOrds(IEnumerable<long?>)
Remaps every ord+1 on this enumerable.
Declaration
public static IEnumerable<long?> MapAllOrds(IEnumerable<long?> iterable)
Parameters
Returns
MapMissingToOrd0(IEnumerable<long?>)
Remaps ord -1 to ord 0 on this enumerable.
Declaration
public static IEnumerable<long?> MapMissingToOrd0(IEnumerable<long?> iterable)
Parameters
Returns