Click or drag to resize

PhraseQuery Class

The phrase query allows to query for exact term phrases in the index. The provided terms must exist in the correct order, at the correct index offsets, in the specified field (as no analyzer are applied to the terms). Queried field must have been indexed with includeTermVectors set to true. It is generally more useful in debugging scenarios, and the Match Phrase Query should usually be preferred for real-world use cases.
Inheritance Hierarchy
SystemObject
  Couchbase.Search.QueriesSearchQueryBase
    Couchbase.Search.Queries.SimplePhraseQuery

Namespace:  Couchbase.Search.Queries.Simple
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public sealed class PhraseQuery : SearchQueryBase

The PhraseQuery type exposes the following members.

Constructors
  NameDescription
Public methodPhraseQuery
Initializes a new instance of the PhraseQuery class
Top
Methods
See Also