bookinventory/app/Services/Search/AuthorConfigurator.php

14 lines
388 B
PHP
Raw Normal View History

2020-12-27 07:53:41 +00:00
<?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 = [
];
}