A Term represents a word from text. This is the unit of search. It is composed of two elements, the text of the word, as a string, and the name of the field that the text occured in, an interned string. Note that terms may represent more than words from text fields, but also things like dates, email addresses, urls, etc.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public sealed class Term : IComparable
Visual Basic
<SerializableAttribute> _
Public NotInheritable Class Term _
	Implements IComparable
Visual C++
[SerializableAttribute]
public ref class Term sealed : IComparable

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Index..::..Term

See Also