Class MatchQuery
A query that analyzes the input text and uses that analyzed text to query the index.
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class MatchQuery : SearchQueryBase, ISearchQuery
Constructors
|
Edit this page
View Source
MatchQuery(string)
Declaration
public MatchQuery(string match)
Parameters
Type |
Name |
Description |
string |
match |
|
Methods
|
Edit this page
View Source
Analyzer(string)
Declaration
public MatchQuery Analyzer(string analyzer)
Parameters
Type |
Name |
Description |
string |
analyzer |
|
Returns
|
Edit this page
View Source
AsReadOnly()
Declaration
public MatchQuery.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
Deconstruct(out string, out string, out int, out int, out string, out MatchOperator?)
Declaration
public void Deconstruct(out string match, out string analyzer, out int prefixLength, out int fuzziness, out string field, out MatchOperator? matchOperator)
Parameters
|
Edit this page
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
public override JObject Export()
Returns
Overrides
|
Edit this page
View Source
Field(string)
Declaration
public MatchQuery Field(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
|
Edit this page
View Source
Fuzziness(int)
Declaration
public MatchQuery Fuzziness(int fuzziness)
Parameters
Type |
Name |
Description |
int |
fuzziness |
|
Returns
|
Edit this page
View Source
MatchOperator(MatchOperator)
Specifies how the individual match terms should be logically concatenated.
Declaration
[InterfaceStability(Level.Uncommitted)]
public MatchQuery MatchOperator(MatchOperator matchOperator)
Parameters
Returns
|
Edit this page
View Source
PrefixLength(int)
Declaration
public MatchQuery PrefixLength(int prefixLength)
Parameters
Type |
Name |
Description |
int |
prefixLength |
|
Returns
Implements