Skip to content

Tags: sgssxf/laravel-scout-elastic

Tags

3.1.1

Toggle 3.1.1's commit message
解决数字不能搜索的问题

3.1.0

Toggle 3.1.0's commit message
兼容laravel5.5

3.0.9

Toggle 3.0.9's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Allow installation with Scout 4 (ErickTamayo#99)

3.0.8

Toggle 3.0.8's commit message
Removed count function. Fixes ErickTamayo#80 (ErickTamayo#84)

Since php 7.2, count a number will generate a warning. Because
$results['hits']['total'] is a number we can just compare it to zero.

`if ($results['hits']['total'] === 0)`

2.0.1

Toggle 2.0.1's commit message
Fixed error in readme config example (ErickTamayo#83)

3.0.7

Toggle 3.0.7's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Enable Laravel5.5 package Auto-Discovery (ErickTamayo#81)

3.0.6

Toggle 3.0.6's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Execute the callback that can be passed to the Builder in performSear…

…ch (ErickTamayo#56)

Context: laravel/scout#111

Implementation analogical to the official AlgoliaEngine implementation: https://github.com/laravel/scout/blob/v3.0.3/src/Engines/AlgoliaEngine.php#L112-L119

3.0.5

Toggle 3.0.5's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Support for "WHERE IN" searches if array is passed to `where` (ErickT…

…amayo#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

3.0.4

Toggle 3.0.4's commit message
chain `values` method in `map` function (ErickTamayo#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.

3.0.3

Toggle 3.0.3's commit message
Update ElasticsearchProvider.php (ErickTamayo#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