Apache Lucene.Net 2.4.0 Class Library API

MultiPhraseQuery.Add Method

Add a single term at the next position in the phrase.

Overload List

Add a single term at the next position in the phrase.

public virtual void Add(Term);

Add multiple terms at the next position in the phrase. Any of the terms may match.

public virtual void Add(Term[]);

Allows to specify the relative position of terms within the phrase.

public virtual void Add(Term[],int);

See Also

MultiPhraseQuery Class | Lucene.Net.Search Namespace | PhraseQuery#Add