public override void LookupOrd(long ord, BytesRef result)
{
BytesRef @ref = null;
try
{
@ref = OuterInstance.LookupTerm(Te, (int)ord);
}
catch (System.IO.IOException e)
{
throw new Exception(e.Message, e);
}
result.Bytes = @ref.Bytes;
result.Offset = @ref.Offset;
result.Length = @ref.Length;
}