public long seek(long ord) {long idx = ord / indexInterval;assert idx < fieldIndex.numIndexTerms;final long offset = fieldIndex.termOffsets.get(idx);final int length = (int) (fieldIndex.termOffsets.get(1+idx) - offset);termBytesReader.fillSlice(term, fieldIndex.termBytesStart + offset, length);this.ord = idx * indexInterval;return fieldIndex.termsStart + fieldIndex.termsDictOffsets.get(idx);}

public override long Seek(long ord){int idx = (int)(ord / outerInstance.totalIndexInterval);Debug.Assert(idx < fieldIndex.numIndexTerms);long offset = fieldIndex.termOffsets.Get(idx);int length = (int)(fieldIndex.termOffsets.Get(1 + idx) - offset);outerInstance.termBytesReader.FillSlice(term, fieldIndex.termBytesStart + offset, length);this.ord = idx * outerInstance.totalIndexInterval;return fieldIndex.termsStart + fieldIndex.termsDictOffsets.Get(idx);}
