This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
Releases: ErickTamayo/laravel-scout-elastic
Releases · ErickTamayo/laravel-scout-elastic
3.0.7
Enable Laravel5.5 package Auto-Discovery (#81)
3.0.6
Execute the callback that can be passed to the Builder in performSear…
Enhancements
Support for "WHERE IN" searches if array is passed to `where` (#55) Right now passing an array results in: "illegal_state_exception: Can't get text on a START_ARRAY" Solution based on http://stackoverflow.com/a/40737488/7362396
Minor fix
chain `values` method in `map` function (#66) In ```php collect($results['hits']['hits'])->map(function ($hit) use ($model, $models) { return isset($models[$hit['_id']]) ? $models[$hit['_id']] : null; })->filter(); ``` would generate some holds which would cause `paginate` results objects rather than list.
Improve compatibility with lumen 5.4
Update ElasticsearchProvider.php (#54) use `app` instead of `resolve` to make lumen 5.4 compatible. `app` and `resolve` are identical since 5.4, see https://github.com/laravel/framework/blob/5.4/src/Illuminate/Foundation/helpers.php#L690
Minor fixes
v3.0.2 bumping to php 5.6.6 (Earliest version that can support php elasticsearch) (#48) `within` now is being taken into account when specified #31 Now if the record is not found on the db will not throw undefined offset #36 Implemented orderBy #46