Rollback PHP to 7.4
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2020-12-27 02:53:41 -05:00
parent a1ac81a73a
commit 9daa8a6667
7 changed files with 73 additions and 9 deletions

View File

@ -0,0 +1,14 @@
<?php
namespace App\Services\Search;
use ScoutElastic\IndexConfigurator;
class AuthorConfigurator extends IndexConfigurator
{
// It's not obligatory to determine name. By default it'll be a snaked class name without `IndexConfigurator` part.
protected $name = 'authors';
// You can specify any settings you want, for example, analyzers.
protected $settings = [
];
}

View File

@ -10,13 +10,5 @@ class BookConfigurator extends IndexConfigurator
// You can specify any settings you want, for example, analyzers.
protected $settings = [
'analysis' => [
'analyzer' => [
'es_std' => [
'type' => 'standard',
'stopwords' => '_spanish_'
]
]
]
];
}

View File

@ -0,0 +1,14 @@
<?php
namespace App\Services\Search;
use ScoutElastic\IndexConfigurator;
class LocationConfigurator extends IndexConfigurator
{
// It's not obligatory to determine name. By default it'll be a snaked class name without `IndexConfigurator` part.
protected $name = 'locations';
// You can specify any settings you want, for example, analyzers.
protected $settings = [
];
}