v0.2.2
⛑ Default sort fix + log improvements
Ensure that results are sorted by _id (could be breaking change).
By default we are sorting by _id
after any HasSorting logic to ensure that pagination is correct.
You can turn this feature by using $builder->setSortById(false);
Improved logging (new config)
log_measurement
Logs every query to log (default false). You can useELASTICSEARCH_LOG_MEASUREMENT
env.log_debug
Debug logs every query data to a log (true in local environment). You can useELASTICSEARCH_LOG_DEBUG
env.service
Enables to change available indices (implement IndicesServiceContract or extend IndicesService)prefix
Used prefix for index names - uses APP_NAME and replace '-' to '_', converts name to slug variant.hosts
A list of IPS for your elastic search - https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/configuration.html. Use;
separator. Default localhost:9200.
By @pionl