Documentation

MatchPhraseQuery extends Message
in package

Generated from protobuf message <code>couchbase.search.v1.MatchPhraseQuery</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>
$phrase  : mixed
Generated from protobuf field <code>string phrase = 3;</code>
__construct()  : mixed
Constructor.
clearAnalyzer()  : mixed
clearBoost()  : mixed
clearField()  : 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>
getPhrase()  : string
Generated from protobuf field <code>string phrase = 3;</code>
hasAnalyzer()  : mixed
hasBoost()  : mixed
hasField()  : 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>
setPhrase()  : $this
Generated from protobuf field <code>string phrase = 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

$phrase

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

protected mixed $phrase = ''

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 $phrase
@type string $analyzer

}

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

getPhrase()

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

public getPhrase() : string
Return values
string

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

setPhrase()

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

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

        

Search results