public override void SeekExact(BytesRef target, TermState otherState) { //System.out.println("BTR.seekExact termState target=" + target.utf8ToString() + " " + target + " this=" + this); Debug.Assert(otherState != null && otherState is BlockTermState); Debug.Assert(!doOrd || ((BlockTermState)otherState).Ord < outerInstance.numTerms); state.CopyFrom(otherState); seekPending = true; indexIsCurrent = false; term.CopyBytes(target); }
public override void SeekExact(BytesRef target, TermState otherState) { //System.out.println("BTR.seekExact termState target=" + target.utf8ToString() + " " + target + " this=" + this); Debug.Assert(otherState is BlockTermState); Debug.Assert(!_doOrd || ((BlockTermState)otherState).Ord < _fieldReader._numTerms); _state.CopyFrom(otherState); _seekPending = true; _indexIsCurrent = false; _term.CopyBytes(target); }