DotLucene 1.4 API Documentation |

# PhrasePrefixQuery Class

PhrasePrefixQuery 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 has "app" as prefix using IndexReader.terms(Term), and use PhrasePrefixQuery.add(Term[] terms) to add them to the query.

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

System.Object
Lucene.Net.Search.Query
Lucene.Net.Search.PhrasePrefixQuery

public class PhrasePrefixQuery : 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

PhrasePrefixQuery Members | Lucene.Net.Search Namespace