Allows to specify the relative position of terms within the phrase.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void Add( Term[] terms, int position ) |
Visual Basic |
---|
Public Overridable Sub Add ( _ terms As Term(), _ position As Integer _ ) |
Visual C++ |
---|
public: virtual void Add( array<Term^>^ terms, int position ) |
Parameters
- terms
- Type: array<Lucene.Net.Index..::..Term>[]()[][]
[Missing <param name="terms"/> documentation for "M:Lucene.Net.Search.MultiPhraseQuery.Add(Lucene.Net.Index.Term[],System.Int32)"]
- position
- Type: System..::..Int32
[Missing <param name="position"/> documentation for "M:Lucene.Net.Search.MultiPhraseQuery.Add(Lucene.Net.Index.Term[],System.Int32)"]