SearchResult
Table of Contents
Properties
-
$count
: mixed
-
$documents
: mixed
Methods
-
__construct()
: mixed
-
getCount()
: int
-
getDocuments()
: array<string|int, mixed>
-
makeSearchResult()
: mixed
$count
protected
mixed
$count
$documents
protected
mixed
$documents
__construct()
public
__construct(int $count, mixed $documents) : mixed
Parameters
-
$count
: int
-
-
$documents
: mixed
-
getCount()
public
getCount() : int
getDocuments()
public
getDocuments() : array<string|int, mixed>
Return values
array<string|int, mixed>
makeSearchResult()
public
static makeSearchResult(mixed $raw, bool $documentsAsArray[, bool $withScores = false ][, bool $withPayloads = false ][, bool $noContent = false ]) : mixed
Parameters
-
$raw
: mixed
-
-
$documentsAsArray
: bool
-
-
$withScores
: bool
= false
-
-
$withPayloads
: bool
= false
-
-
$noContent
: bool
= false
-