MatchQuery
extends Message
in package
Generated from protobuf message <code>couchbase.search.v1.MatchQuery</code>
Table of Contents
- $analyzer : mixed
- Generated from protobuf field <code>optional string analyzer = 4;</code>
- $boost : mixed
- Generated from protobuf field <code>optional float boost = 1;</code>
- $field : mixed
- Generated from protobuf field <code>optional string field = 2;</code>
- $fuzziness : mixed
- Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
- $operator : mixed
- Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
- $prefix_length : mixed
- Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
- $value : mixed
- Generated from protobuf field <code>string value = 3;</code>
- __construct() : mixed
- Constructor.
- clearAnalyzer() : mixed
- clearBoost() : mixed
- clearField() : mixed
- clearFuzziness() : mixed
- clearOperator() : mixed
- clearPrefixLength() : mixed
- getAnalyzer() : string
- Generated from protobuf field <code>optional string analyzer = 4;</code>
- getBoost() : float
- Generated from protobuf field <code>optional float boost = 1;</code>
- getField() : string
- Generated from protobuf field <code>optional string field = 2;</code>
- getFuzziness() : int|string
- Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
- getOperator() : int
- Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
- getPrefixLength() : int|string
- Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
- getValue() : string
- Generated from protobuf field <code>string value = 3;</code>
- hasAnalyzer() : mixed
- hasBoost() : mixed
- hasField() : mixed
- hasFuzziness() : mixed
- hasOperator() : mixed
- hasPrefixLength() : mixed
- setAnalyzer() : $this
- Generated from protobuf field <code>optional string analyzer = 4;</code>
- setBoost() : $this
- Generated from protobuf field <code>optional float boost = 1;</code>
- setField() : $this
- Generated from protobuf field <code>optional string field = 2;</code>
- setFuzziness() : $this
- Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
- setOperator() : $this
- Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
- setPrefixLength() : $this
- Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
- setValue() : $this
- Generated from protobuf field <code>string value = 3;</code>
Properties
$analyzer
Generated from protobuf field <code>optional string analyzer = 4;</code>
protected
mixed
$analyzer
= null
$boost
Generated from protobuf field <code>optional float boost = 1;</code>
protected
mixed
$boost
= null
$field
Generated from protobuf field <code>optional string field = 2;</code>
protected
mixed
$field
= null
$fuzziness
Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
protected
mixed
$fuzziness
= null
$operator
Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
protected
mixed
$operator
= null
$prefix_length
Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
protected
mixed
$prefix_length
= null
$value
Generated from protobuf field <code>string value = 3;</code>
protected
mixed
$value
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type float $boost @type string $field @type string $value @type string $analyzer @type int|string $fuzziness @type int $operator @type int|string $prefix_length
}
Return values
mixed —clearAnalyzer()
public
clearAnalyzer() : mixed
Return values
mixed —clearBoost()
public
clearBoost() : mixed
Return values
mixed —clearField()
public
clearField() : mixed
Return values
mixed —clearFuzziness()
public
clearFuzziness() : mixed
Return values
mixed —clearOperator()
public
clearOperator() : mixed
Return values
mixed —clearPrefixLength()
public
clearPrefixLength() : mixed
Return values
mixed —getAnalyzer()
Generated from protobuf field <code>optional string analyzer = 4;</code>
public
getAnalyzer() : string
Return values
string —getBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
getBoost() : float
Return values
float —getField()
Generated from protobuf field <code>optional string field = 2;</code>
public
getField() : string
Return values
string —getFuzziness()
Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
public
getFuzziness() : int|string
Return values
int|string —getOperator()
Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
public
getOperator() : int
Return values
int —getPrefixLength()
Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
public
getPrefixLength() : int|string
Return values
int|string —getValue()
Generated from protobuf field <code>string value = 3;</code>
public
getValue() : string
Return values
string —hasAnalyzer()
public
hasAnalyzer() : mixed
Return values
mixed —hasBoost()
public
hasBoost() : mixed
Return values
mixed —hasField()
public
hasField() : mixed
Return values
mixed —hasFuzziness()
public
hasFuzziness() : mixed
Return values
mixed —hasOperator()
public
hasOperator() : mixed
Return values
mixed —hasPrefixLength()
public
hasPrefixLength() : mixed
Return values
mixed —setAnalyzer()
Generated from protobuf field <code>optional string analyzer = 4;</code>
public
setAnalyzer(string $var) : $this
Parameters
- $var : string
Return values
$this —setBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
setBoost(float $var) : $this
Parameters
- $var : float
Return values
$this —setField()
Generated from protobuf field <code>optional string field = 2;</code>
public
setField(string $var) : $this
Parameters
- $var : string
Return values
$this —setFuzziness()
Generated from protobuf field <code>optional uint64 fuzziness = 5;</code>
public
setFuzziness(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setOperator()
Generated from protobuf field <code>optional .couchbase.search.v1.MatchQuery.Operator operator = 6;</code>
public
setOperator(int $var) : $this
Parameters
- $var : int
Return values
$this —setPrefixLength()
Generated from protobuf field <code>optional uint64 prefix_length = 7;</code>
public
setPrefixLength(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setValue()
Generated from protobuf field <code>string value = 3;</code>
public
setValue(string $var) : $this
Parameters
- $var : string