Lucene.Net.Codecs.Lucene3x.TermBuffer.ToTerm C# (CSharp) Метод

ToTerm() публичный Метод

public ToTerm ( ) : Term
Результат Term
        public Term ToTerm()
        {
            if (Field == null) // unset
            {
                return null;
            }

            return Term ?? (Term = new Term(Field, BytesRef.DeepCopyOf(Bytes)));
        }

Usage Example

Пример #1
0
 /// <summary>
 /// Returns the previous Term enumerated. Initially <c>null</c>. </summary>
 internal Term Prev()
 {
     return(prevBuffer.ToTerm());
 }
All Usage Examples Of Lucene.Net.Codecs.Lucene3x.TermBuffer::ToTerm