Elastification PHP Client API
Class

Elastification\Client\Response\V090x\SearchResponse

class SearchResponse extends AbstractSearchResponse

Class SearchResponse

Constants

PROP_INDEX

PROP_TYPE

PROP_SHARDS

PROP_TOOK

PROP_TIMED_OUT

PROP_HITS

PROP_HITS_TOTAL

PROP_HITS_MAX_SCORE

PROP_HITS_HITS

Methods

void __construct($rawData $rawData, SerializerInterface $serializer, array $serializerParams = array())

from Response
mixed getData()

from Response
string getRawData()

from Response
SerializerInterface getSerializer()

from Response
mixed getIndex()

Getter Method

from AbstractSearchResponse
mixed getType()

Getter Method

from AbstractSearchResponse
mixed took()

Getter Method

from AbstractSearchResponse
mixed timedOut()

Getter Method

from AbstractSearchResponse
mixed getShards()

Getter Method

from AbstractSearchResponse
mixed getHits()

Getter Method

from AbstractSearchResponse
mixed totalHits()

Getter Method

from AbstractSearchResponse
mixed maxScoreHits()

Getter Method

from AbstractSearchResponse
mixed getHitsHits()

Getter Method

from AbstractSearchResponse

Details

in Response at line 57
public void __construct($rawData $rawData, SerializerInterface $serializer, array $serializerParams = array())

Parameters

$rawData $rawData
SerializerInterface $serializer
array $serializerParams

Return Value

void

in Response at line 67
public mixed getData()

Return Value

mixed

in Response at line 77
public string getRawData()

Return Value

string

in Response at line 85
public SerializerInterface getSerializer()

Return Value

SerializerInterface

public mixed getIndex()

Getter Method

Return Value

mixed

public mixed getType()

Getter Method

Return Value

mixed

public mixed took()

Getter Method

Return Value

mixed

public mixed timedOut()

Getter Method

Return Value

mixed

public mixed getShards()

Getter Method

Return Value

mixed

in AbstractSearchResponse at line 112
public mixed getHits()

Getter Method

Return Value

mixed

in AbstractSearchResponse at line 125
public mixed totalHits()

Getter Method

Return Value

mixed

in AbstractSearchResponse at line 136
public mixed maxScoreHits()

Getter Method

Return Value

mixed

in AbstractSearchResponse at line 147
public mixed getHitsHits()

Getter Method

Return Value

mixed