Releases: pdphilip/laravel-elasticsearch
v3.9.0
Version 3
This tag (3.9.x) is for:
- Laravel 9
- Elasticsearch 8.12
This major version brings a host of powerful enhancements and a significant architectural overhaul to the core query engine, transforming the way Elasticsearch queries are integrated and executed within Laravel applications.
Highlights:
Documentation
Given the expansion of this package, the documentation has moved to a dedicated site.
Core Engine Overhaul:
The centerpiece of this update, the query engine, has been completely rebuilt. This transformation shifts away from reliance on query strings to a direct integration with Elasticsearch's DSL (Domain Specific Language), unlocking a broader range of querying capabilities and a more profound integration with Elasticsearch's advanced features.
Nested Queries and Sorting:
- Nested Object Queries: Deep dive into your nested data structures with comprehensive querying support.
- Order By Nested: Enhanced sorting capabilities allow you to order search results based on fields within nested objects.
- Filter Nested Values: Apply query filters to nested data elements returning the desired matches for the data in a nested field.
New where
type clauses:
- Phrase Matching: Boost your search precision with enhanced phrase matching, enabling the targeting of exact sequences within text fields.
- Exact Matching: Strengthen your search with improved exact matching capabilities, ensuring only documents that exactly match specified criteria are retrieved.
Sorting Enhancements:
- Advanced Sorting Features: Leverage Elasticsearch's native sorting features, including various sorting modes and handling of missing values.
- Geo-Distance Sorting: Sort data with geographical considerations, enabling spatially-aware application features.
Saving Enhancements:
- First Or Create: Streamline data existence checks and creation in one go, optimizing data management workflows.
- First Or Create without Refresh: Enhance performance for non-critical operations by skipping the immediate refresh.
Grouped Queries: Build complex queries more intuitively with the new grouped query functionality, allowing for nested conditionals within a single, organized query block.
Future-Ready Architecture
Version 3 not only enhances current functionalities but also lays a solid foundation for future expansion, especially in adopting more Elasticsearch-specific features. As Elasticsearch continues to evolve, this package is designed to adapt and incorporate new capabilities, ensuring that Laravel developers have access to the forefront of search technology.
Bug fixes
- Ordering on multiple fields
whereIn()
clause uses exact values
V3.8.0
Version 3
This tag (3.8.x) is for:
- Laravel 8
- Elasticsearch 8.12
This major version brings a host of powerful enhancements and a significant architectural overhaul to the core query engine, transforming the way Elasticsearch queries are integrated and executed within Laravel applications.
Highlights:
Documentation
Given the expansion of this package, the documentation has moved to a dedicated site.
Core Engine Overhaul:
The centerpiece of this update, the query engine, has been completely rebuilt. This transformation shifts away from reliance on query strings to a direct integration with Elasticsearch's DSL (Domain Specific Language), unlocking a broader range of querying capabilities and a more profound integration with Elasticsearch's advanced features.
Nested Queries and Sorting:
- Nested Object Queries: Deep dive into your nested data structures with comprehensive querying support.
- Order By Nested: Enhanced sorting capabilities allow you to order search results based on fields within nested objects.
- Filter Nested Values: Apply query filters to nested data elements returning the desired matches for the data in a nested field.
New where
type clauses:
- Phrase Matching: Boost your search precision with enhanced phrase matching, enabling the targeting of exact sequences within text fields.
- Exact Matching: Strengthen your search with improved exact matching capabilities, ensuring only documents that exactly match specified criteria are retrieved.
Sorting Enhancements:
- Advanced Sorting Features: Leverage Elasticsearch's native sorting features, including various sorting modes and handling of missing values.
- Geo-Distance Sorting: Sort data with geographical considerations, enabling spatially-aware application features.
Saving Enhancements:
- First Or Create: Streamline data existence checks and creation in one go, optimizing data management workflows.
- First Or Create without Refresh: Enhance performance for non-critical operations by skipping the immediate refresh.
Grouped Queries: Build complex queries more intuitively with the new grouped query functionality, allowing for nested conditionals within a single, organized query block.
Future-Ready Architecture
Version 3 not only enhances current functionalities but also lays a solid foundation for future expansion, especially in adopting more Elasticsearch-specific features. As Elasticsearch continues to evolve, this package is designed to adapt and incorporate new capabilities, ensuring that Laravel developers have access to the forefront of search technology.
Bug fixes
- Ordering on multiple fields
whereIn()
clause uses exact values
v2.10.7
v2.10.6
v2.9.9
v2.8.7
v2.7.7
v2.9.8
Initial Migration catchers for when Elasticsearch is the sole datasource
Full Changelog: v2.9.7...v2.9.8
v2.10.5
PR
Thank you @jayjfletcher via #12
- Hybrid relations eloquent builder to return native Laravel builder for non-ES models
- Escaped '/' for query builder
Bugfix
- Escaped values that start with a dash, issue #13
New Contributors
- @jayjfletcher made their first contribution in #12
Full Changelog: v2.10.4...v2.10.5
v2.9.7
Bugfix
- Hybrid relations eloquent builder to return native Laravel builder for non-ES models
- Escaped '/' for query builder
- Escaped values that start with a dash
Full Changelog: v2.9.6...v2.9.7