All notable changes to this project will be documented in this file.
- Fix a regression when serializing empty Bool queries
- Fix a regression in BulkResponseAggregator (introduced in 3.8.0)
- Add MatchAll and MatchNone queries
- Upload code coverage to Coveralls only once when running Travis CI
- Add support for Lumen 6.x
- BulkResponseAggregator::reset() is now fluid
- Run Travis CI on PHP 7.4 too
- Update PHPUnit to 7.5
- Dummy tag since 3.7.1 was accidentally tagged on a feature branch
- Fix two bugs in the new index prefixing feature
- Add support for index prefixing
- Fix incorrect return type-hint for getItemParent()
- Add AbstractMultiIndexCommand for indexing the same data into multiple indices
- Fix a memory leak during bulk indexing (introduced in 3.5.0)
- Print eventual errors during bulk indexing
- Fix a null pointer exception with the re-indexing progress bar
- Improved resilience of the re-indexing stage of index migrations
- Added a progress bar for the re-indexing stage of index migrations
- Added a console command for updating certain dynamic index settings
- Added support for setting min_doc_count on term aggregations
- Added support for setting scripted fields and stored fields
- Fix an issue with empty function_score queries
- Fixed omitting "from" in queries where it's not needed
- Added a count() method to the service
- Make the order settable via the FieldSort constructor
- Add some more convenient constructors
- Add some more convenient constructors, implement Arrayable instead of our own abstract method
- Bumped the minimum required PHP version to 7.1
- Removed the various builder objects
- Added phpstan for static analysis, fixed a lot of type-hint issues
- Add some additional error checks, remove useless once caught by the language
- Added a constructor to TermQuery for convenience
- Removed composer.lock from git
- Decreased the progress bar redraw frequency and made it configurable
- Added support for most of the missing function query features
- Added support for "dis max" queries
- Fixed a bug in option parsing in the ApplyMigrationCommand
No functional changes, 2.3.6 accidentally got tagged on the wrong branch
- Added option to force update_all_types when doing migrations
- Added support for setting _source
- Added support for using constant score queries
- Added support for using script scoring functions
- Made reindex operation asynchronous to prevent potential timeouts
- Added "delete by query" support
- Improve code coverage somewhat
- Fixed a phpdoc issue that broke fluent setter usage
- Support for controlling the batch size used during re-indexing
- Improved re-indexing speed by tweaking some index settings before and after the re-index
- Fixed a few Scrutinizer issues
- Fixed some command typos in the README
- Fixed an issue with empty match_all queries
- Support for terms aggregation
- Support for adding filters and aggregations to a query
- Unit test instructions in the README were wrong
- Fixed instructions for running unit tests in the README
- Support for index migrations (see the README for more details)
- Changed test suite to use phpunit and PSR-4
- Changed dependencies to match real world usage
- Some minor Scrutinizer issues
- Initial support for Elasticsearch 5.x
- Support for wildcard and regexp queries
- Better documentation in the README
- Support re-indexing
- Support update by query
- Fixed some badges in the README
- Reduced some code duplication by using traits
1.2.0 - 2017-06-21
- Function for getting the total count.
1.1.2 - 2017-06-16
- Invert the logic to determine the correct "from" value.
1.1.1 - 2017-06-16
- PHP 7.1 to Travis CI.
1.1.0 - 2017-06-16
- Ability to specify "from" directly, bypassing the "page" abstraction
- Composer.lock.
1.0.0 - 2017-02-09
- CHANGELOG.md
- Update composer to use lumen-framework 5.4.
- Function call to undefined method setSettings() in ElasticsearchService.
0.7.0 - 2017-02-09
- Support for function_score queries.
- Scrutinizer badge.
0.6.0 - 2016-06-10
- StyleCI Badge.
- Support for aggregations.
- Gitter badge link.
0.5.0 - 2016-04-29
- Sorting support.
- Query sort string parser.
- Unit tests for sort string parser.
- Unused property from ElasticsearchService.
0.4.0 - 2016-04-25
- Unit tests for joining queries, bulk query and bulk action.
- Gitter badge.
- Update README.
- Search API related queries under new namespace.
- License badge.
- Expose bulk() method through service contract.
- Tests to work with new query builder.
- MultiMatch query options.
0.3.1 - 2016-04-20
- Pagination query to accept real page number instead of one less.
- Pagerfanta page calculation.
- Pagerfanta tests.
- README.
0.3.0 - 2016-04-20
- Pagerfanta to support pagination.
- Tests for Pagerfanta.
- Update README.
0.2.0 - 2016-04-15
- Badges.
- composer.lock.
- Unit tests.
- Code coverage.
- Travis CI.
- Term query.
- Support for basic query building.
- Update documentation.
- Cleaned up default config.
0.1.0 - 2015-11-26
- Project files.
- Service provider that exposes a configurable elasticsearch client.