C# Class Couchbase.Search.Queries.Simple.PhraseQuery

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: FtsQueryBase
ファイルを表示 Open project: couchbase/couchbase-net-client Class Usage Examples

Public Methods

Method Description
Export ( ) : Newtonsoft.Json.Linq.JObject
Field ( string field ) : PhraseQuery

The field to search against.

PhraseQuery ( ) : System

Method Details

Export() public method

public Export ( ) : Newtonsoft.Json.Linq.JObject
return Newtonsoft.Json.Linq.JObject

Field() public method

The field to search against.
public Field ( string field ) : PhraseQuery
field string The field.
return PhraseQuery

PhraseQuery() public method

public PhraseQuery ( ) : System
return System