public override void SeekExact(BytesRef target, TermState otherState) { if (!target.Equals(term_Renamed)) { state.CopyFrom(otherState); term_Renamed = BytesRef.DeepCopyOf(target); seekPending = true; } }
public override void CopyFrom(TermState _other) { base.CopyFrom(_other); IntBlockTermState other = (IntBlockTermState)_other; DocStartFP = other.DocStartFP; PosStartFP = other.PosStartFP; PayStartFP = other.PayStartFP; LastPosBlockOffset = other.LastPosBlockOffset; SkipOffset = other.SkipOffset; SingletonDocID = other.SingletonDocID; }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public void seekExact(util.BytesRef term, index.TermState state) throws java.io.IOException public override void seekExact(BytesRef term, TermState state) { termOrd = (int) ((OrdTermState) state).ord; setTerm(); Debug.Assert(term.Equals(scratch)); }