You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code in loadWithoutPriceFilterWithPriceSorting() needs to look something like this (at least when elasticsearch 6 is used):
unset($params['body']['sort']); // don't send the sort parameter, because it doesn't exist with offline sorting$params['body']['size'] = 10000; // won't work with more than 10000 items in the result (elasticsearch limit)$params['body']['from'] = 0;
$params['body']['_source'] = ['system.priceSystemName'];
$result = $this->sendRequest($params);
$objectRaws = [];
if ($result['hits']) {
$this->totalCount = $result['hits']['total'];
foreach ($result['hits']['hits'] as$hit) {
$objectRaws[] = ['id' => $hit['_id'], 'priceSystemName' => $hit['_source']['system']['priceSystemName']];
}
}`
The text was updated successfully, but these errors were encountered:
code in
loadWithoutPriceFilterWithPriceSorting()
needs to look something like this (at least when elasticsearch 6 is used):The text was updated successfully, but these errors were encountered: