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

Regexp query finds documents containing terms that match the specified regular expression.
Inheritance: FtsQueryBase
显示文件 Open project: couchbase/couchbase-net-client Class Usage Examples

Public Methods

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

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.

RegexpQuery ( string regex ) : System

Initializes a new instance of the RegexpQuery class.

Method Details

Export() public method

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

Field() public method

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.
public Field ( string field ) : RegexpQuery
field string The field.
return RegexpQuery

RegexpQuery() public method

Initializes a new instance of the RegexpQuery class.
regex
public RegexpQuery ( string regex ) : System
regex string The regexp to be analyzed and used against. The regexp string is required.
return System