All notable changes to elasticsearch-query-builder will be documented in this file.
- feat: Enhance Builder class by adding Conditionable trait for improved query capabilities by @greezen in #79
- @greezen made their first contribution in #79
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.9.1...3.9.2
- Terms aggregation: Support "include" and "exclude" options for filtering values by @sventendo in #78
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.9.0...3.9.1
- Update issue template by @AlexVanderbist in #77
- Added
ScriptSorton Query Builder by @chirag-techrayslabs in #75 - Comprehensive ElasticSearch Query and Aggregation Enhancement by @summerKK in #76
- @AlexVanderbist made their first contribution in #77
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.8.1...3.9.0
- Add isEmpty method to BoolQuery by @floristenhove in #72
- Fix missing parameter type restrictions in aggregations and sorts by @summerKK in #74
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.8.0...3.8.1
- Add operator, boost, prefix length, and max expansions to MultiMatchQuery by @floristenhove in #71
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.7.0...3.8.0
- Add DateHistogramAggregation by @Crmteam-IVG in #66
- @Crmteam-IVG made their first contribution in #66
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.6.0...3.7.0
- Add the min_score to the builder by @wgriffioen in #68
- @wgriffioen made their first contribution in #68
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.5.1...3.6.0
- Collapse: Make use of nested inner hits query object by @sventendo in #67
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.5.0...3.5.1
- Add elasticsearch
collapseon query builder by @chirag-techrayslabs in #65
- @chirag-techrayslabs made their first contribution in #65
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.4.0...3.5.0
- Add MultiBuilder to support multi-search API by @chrispappas in #64
- @chrispappas made their first contribution in #64
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.3.0...3.4.0
- Add boost parameter to Terms query by @floristenhove in #54
- Nested query improvements by @dam-bal in #53
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.2.2...3.3.0
- Fix missing args for create func by @l3aro in #60
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.2.1...3.2.2
- Support operator in MatchQuery by @l3aro in #59
- @l3aro made their first contribution in #59
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.2.0...3.2.1
- Add percolate query by @floristenhove in #57
- Allow setting values to null for RangeQuery by @bram-pkg in #56
- Add geoshape query by @floristenhove in #58
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.1.0...3.2.0
- feat: add MatchPhraseQuery by @summerKK in #50
- @summerKK made their first contribution in #50
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/3.0.0...3.1.0
See upgrading.md for possible breaking changes.
- Added Nested Sort by @dam-bal in #46
- @dam-bal made their first contribution in #46
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.7.0...3.0.0
- Allow
boolandintas types for term query by @sventendo in #34 - Fix: Include
sizeandfromin getPayload by @harlequin410 in #35 - Allow filter aggregation without using nested aggregations by @sventendo in #37
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.6.0...2.7.0
- Add minimum_should_match support for BoolQuery by @srowan in #38
- @srowan made their first contribution in #38
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.5.0...2.6.0
- Add boost parameter to MatchQuery by @MilanLamote in #42
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.4.0...2.5.0
- Add post filter logic and enhance readme by @MilanLamote in #41
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.3.0...2.4.0
- Add highlighting by @MilanLamote in #39
- @MilanLamote made their first contribution in #39
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.2.0...2.3.0
- Added able track total hits by @nick-rashkevich in #36
- @nick-rashkevich made their first contribution in #36
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.1.0...2.2.0
- IB-1280 added sum aggregation by @webbaard in #26
- @webbaard made their first contribution in #26
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.0.1...2.1.0
- Fix
Builder::search()return data type by @imdhemy in #24
- @imdhemy made their first contribution in #24
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/2.0.0...2.0.1
- Elasticseach ^8.0 support by @h-rafiee in #19
- @h-rafiee made their first contribution in #19
Full Changelog: https://github.com/spatie/elasticsearch-query-builder/compare/1.4.0...2.0.0
- add
TermsQuery
- add
PrefixQuery
- remove debug statements (again 🤦)
- remove debug statements
- add
typetoMultiMatchQuery
- fix
search_afterparameter in request body
- add
search_afterto request body
- provide default sort order
- add
searchAftermethod
- initial release