Adds a term to the end of the query phrase.
The relative position of the term is the one immediately after the last term added.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void Add( Term term ) |
Visual Basic |
---|
Public Overridable Sub Add ( _ term As Term _ ) |
Visual C++ |
---|
public: virtual void Add( Term^ term ) |
Parameters
- term
- Type: Lucene.Net.Index..::..Term
[Missing <param name="term"/> documentation for "M:Lucene.Net.Search.PhraseQuery.Add(Lucene.Net.Index.Term)"]