Documentation

BooleanQuery extends Message
in package

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

Table of Contents

$boost  : mixed
Generated from protobuf field <code>optional float boost = 1;</code>
$must  : mixed
Generated from protobuf field <code>optional .couchbase.search.v1.ConjunctionQuery must = 2;</code>
$must_not  : mixed
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery must_not = 3;</code>
$should  : mixed
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery should = 4;</code>
__construct()  : mixed
Constructor.
clearBoost()  : mixed
clearMust()  : mixed
clearMustNot()  : mixed
clearShould()  : mixed
getBoost()  : float
Generated from protobuf field <code>optional float boost = 1;</code>
getMust()  : ConjunctionQuery|null
Generated from protobuf field <code>optional .couchbase.search.v1.ConjunctionQuery must = 2;</code>
getMustNot()  : DisjunctionQuery|null
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery must_not = 3;</code>
getShould()  : DisjunctionQuery|null
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery should = 4;</code>
hasBoost()  : mixed
hasMust()  : mixed
hasMustNot()  : mixed
hasShould()  : mixed
setBoost()  : $this
Generated from protobuf field <code>optional float boost = 1;</code>
setMust()  : $this
Generated from protobuf field <code>optional .couchbase.search.v1.ConjunctionQuery must = 2;</code>
setMustNot()  : $this
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery must_not = 3;</code>
setShould()  : $this
Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery should = 4;</code>

Properties

$boost

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

protected mixed $boost = null

$must

Generated from protobuf field <code>optional .couchbase.search.v1.ConjunctionQuery must = 2;</code>

protected mixed $must = null

$must_not

Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery must_not = 3;</code>

protected mixed $must_not = null

$should

Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery should = 4;</code>

protected mixed $should = null

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 \Couchbase\Protostellar\Generated\Search\V1\ConjunctionQuery $must
@type \Couchbase\Protostellar\Generated\Search\V1\DisjunctionQuery $must_not
@type \Couchbase\Protostellar\Generated\Search\V1\DisjunctionQuery $should

}

Return values
mixed

clearBoost()

public clearBoost() : mixed
Return values
mixed

clearMust()

public clearMust() : mixed
Return values
mixed

clearMustNot()

public clearMustNot() : mixed
Return values
mixed

clearShould()

public clearShould() : mixed
Return values
mixed

getBoost()

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

public getBoost() : float
Return values
float

hasBoost()

public hasBoost() : mixed
Return values
mixed

hasMust()

public hasMust() : mixed
Return values
mixed

hasMustNot()

public hasMustNot() : mixed
Return values
mixed

hasShould()

public hasShould() : 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

setMust()

Generated from protobuf field <code>optional .couchbase.search.v1.ConjunctionQuery must = 2;</code>

public setMust(ConjunctionQuery $var) : $this
Parameters
$var : ConjunctionQuery
Return values
$this

setMustNot()

Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery must_not = 3;</code>

public setMustNot(DisjunctionQuery $var) : $this
Parameters
$var : DisjunctionQuery
Return values
$this

setShould()

Generated from protobuf field <code>optional .couchbase.search.v1.DisjunctionQuery should = 4;</code>

public setShould(DisjunctionQuery $var) : $this
Parameters
$var : DisjunctionQuery
Return values
$this

        

Search results