Apache Lucene.Net 2.4.0 Class Library API

MultiPhraseQuery Class

MultiPhraseQuery is a generalized version of PhraseQuery, with an added method {@link #Add(Term[])}. To use this class, to search for the phrase "Microsoft app*" first use add(Term) on the term "Microsoft", then find all terms that have "app" as prefix using IndexReader.terms(Term), and use MultiPhraseQuery.add(Term[] terms) to add them to the query.

For a list of all members of this type, see MultiPhraseQuery Members.

System.Object
   Lucene.Net.Search.Query
      Lucene.Net.Search.MultiPhraseQuery

public class MultiPhraseQuery : Query

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Search

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

MultiPhraseQuery Members | Lucene.Net.Search Namespace