DisjunctionQuery
extends Message
in package
Generated from protobuf message <code>couchbase.search.v1.DisjunctionQuery</code>
Table of Contents
- $boost : mixed
- Generated from protobuf field <code>optional float boost = 1;</code>
- $minimum : mixed
- Generated from protobuf field <code>optional uint32 minimum = 3;</code>
- $queries : mixed
- Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
- __construct() : mixed
- Constructor.
- clearBoost() : mixed
- clearMinimum() : mixed
- getBoost() : float
- Generated from protobuf field <code>optional float boost = 1;</code>
- getMinimum() : int
- Generated from protobuf field <code>optional uint32 minimum = 3;</code>
- getQueries() : RepeatedField
- Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
- hasBoost() : mixed
- hasMinimum() : mixed
- setBoost() : $this
- Generated from protobuf field <code>optional float boost = 1;</code>
- setMinimum() : $this
- Generated from protobuf field <code>optional uint32 minimum = 3;</code>
- setQueries() : $this
- Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
Properties
$boost
Generated from protobuf field <code>optional float boost = 1;</code>
protected
mixed
$boost
= null
$minimum
Generated from protobuf field <code>optional uint32 minimum = 3;</code>
protected
mixed
$minimum
= null
$queries
Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
private
mixed
$queries
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 array<\Couchbase\Protostellar\Generated\Search\V1\Query>|\Google\Protobuf\Internal\RepeatedField $queries @type int $minimum
}
Return values
mixed —clearBoost()
public
clearBoost() : mixed
Return values
mixed —clearMinimum()
public
clearMinimum() : mixed
Return values
mixed —getBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
getBoost() : float
Return values
float —getMinimum()
Generated from protobuf field <code>optional uint32 minimum = 3;</code>
public
getMinimum() : int
Return values
int —getQueries()
Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
public
getQueries() : RepeatedField
Return values
RepeatedField —hasBoost()
public
hasBoost() : mixed
Return values
mixed —hasMinimum()
public
hasMinimum() : mixed
Return values
mixed —setBoost()
Generated from protobuf field <code>optional float boost = 1;</code>
public
setBoost(float $var) : $this
Parameters
- $var : float
Return values
$this —setMinimum()
Generated from protobuf field <code>optional uint32 minimum = 3;</code>
public
setMinimum(int $var) : $this
Parameters
- $var : int
Return values
$this —setQueries()
Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
public
setQueries(array<string|int, Query>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Query>|RepeatedField