14 lines
392 B
PHP
14 lines
392 B
PHP
<?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 = [
|
|
];
|
|
} |