Can't access raw ES response

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
offline
While it is easy to modify DSL when searching, it is not as easy to process results as the raw response only seems to be exposed kinda in the middle of XFES\Search\Source\Elasticsearch which makes it complicated to work with.

Could smth. like
PHP:

protected function processResponse(Query\Query $query, array &$response, array $dsl): void

that gets called before

PHP:

if (!$response || !isset($response['hits']['hits']))
be added to the class?

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom