📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
K

RSS Can't access raw ES response

  • Thread starter Thread starter Kirby
  • Start date Start date
K

Kirby

Guest
Guest or Bot
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...
 
Similar content Most view View more
Back
Top