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

A term query is a query that may be "fuzzy" and matches terms within a specified edit distance (Levenshtein distance). Also, you can optionally specify that the term must have a matching prefix of the specified length.
Inheritance: FtsQueryBase
Exibir arquivo Open project: couchbase/couchbase-net-client Class Usage Examples

Public Methods

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

The field to search against.

Fuzziness ( int fuzziness ) : TermQuery
PrefixLength ( int prefixLength ) : TermQuery
TermQuery ( string term ) : 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 ) : TermQuery
field string The field.
return TermQuery

Fuzziness() public method

public Fuzziness ( int fuzziness ) : TermQuery
fuzziness int
return TermQuery

PrefixLength() public method

public PrefixLength ( int prefixLength ) : TermQuery
prefixLength int
return TermQuery

TermQuery() public method

public TermQuery ( string term ) : System
term string
return System