Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Releases: ErickTamayo/laravel-scout-elastic

3.0.7

27 Sep 22:40
Compare
Choose a tag to compare
Enable Laravel5.5 package Auto-Discovery (#81)

3.0.6

21 Aug 14:08
Compare
Choose a tag to compare
Execute the callback that can be passed to the Builder in performSear…

Enhancements

09 Aug 15:43
Compare
Choose a tag to compare
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

02 Jul 15:09
Compare
Choose a tag to compare
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

24 Apr 18:21
Compare
Choose a tag to compare
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

31 Mar 23:13
Compare
Choose a tag to compare
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