public Term ToTerm() { if (Field == null) // unset { return null; } return Term ?? (Term = new Term(Field, BytesRef.DeepCopyOf(Bytes))); }
/// <summary> /// Returns the previous Term enumerated. Initially <c>null</c>. </summary> internal Term Prev() { return(prevBuffer.ToTerm()); }