Documentation

QueryStringQuery extends Message
in package

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

Table of Contents

$boost  : mixed
Generated from protobuf field <code>optional float boost = 1;</code>
$query_string  : mixed
Generated from protobuf field <code>string query_string = 3;</code>
__construct()  : mixed
Constructor.
clearBoost()  : mixed
getBoost()  : float
Generated from protobuf field <code>optional float boost = 1;</code>
getQueryString()  : string
Generated from protobuf field <code>string query_string = 3;</code>
hasBoost()  : mixed
setBoost()  : $this
Generated from protobuf field <code>optional float boost = 1;</code>
setQueryString()  : $this
Generated from protobuf field <code>string query_string = 3;</code>

Properties

$boost

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

protected mixed $boost = null

$query_string

Generated from protobuf field <code>string query_string = 3;</code>

protected mixed $query_string = ''

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 $query_string

}

Return values
mixed

getBoost()

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

public getBoost() : float
Return values
float

getQueryString()

Generated from protobuf field <code>string query_string = 3;</code>

public getQueryString() : string
Return values
string

setBoost()

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

public setBoost(float $var) : $this
Parameters
$var : float
Return values
$this

setQueryString()

Generated from protobuf field <code>string query_string = 3;</code>

public setQueryString(string $var) : $this
Parameters
$var : string
Return values
$this

        

Search results