Documentation

ConjunctionQuery extends Message
in package

Generated from protobuf message <code>couchbase.search.v1.ConjunctionQuery</code>

Table of Contents

$boost  : mixed
Generated from protobuf field <code>optional float boost = 1;</code>
$queries  : mixed
Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
__construct()  : mixed
Constructor.
clearBoost()  : mixed
getBoost()  : float
Generated from protobuf field <code>optional float boost = 1;</code>
getQueries()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>
hasBoost()  : mixed
setBoost()  : $this
Generated from protobuf field <code>optional float boost = 1;</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

$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

}

Return values
mixed

getBoost()

Generated from protobuf field <code>optional float boost = 1;</code>

public getBoost() : float
Return values
float

getQueries()

Generated from protobuf field <code>repeated .couchbase.search.v1.Query queries = 2;</code>

public getQueries() : RepeatedField
Return values
RepeatedField

setBoost()

Generated from protobuf field <code>optional float boost = 1;</code>

public setBoost(float $var) : $this
Parameters
$var : float
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
Return values
$this

        

Search results