A Query that matches documents containing a particular sequence of terms.
A PhraseQuery is built by QueryParser for input like
CopyC#.
This query may be combined with other terms or queries with a {@link BooleanQuery}.
Namespace: Lucene.Net.Search"new york"Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
[SerializableAttribute] public class PhraseQuery : Query |
| Visual Basic |
|---|
<SerializableAttribute> _ Public Class PhraseQuery _ Inherits Query |
| Visual C++ |
|---|
[SerializableAttribute] public ref class PhraseQuery : public Query |