[ 'host' => env('ELASTICSEARCH_HOST','localhost'), 'port' => env('ELASTICSEARCH_PORT','9200'), 'scheme' => env('ELASTICSEARCH_SCHEME','https'), 'user' => env('ELASTICSEARCH_USER','elastic'), 'pass' => env('ELASTICSEARCH_PASS',''), ], /** * An index may be defined on an Eloquent model or inline below. A more in depth explanation * of the mapping possibilities can be found in the documentation of Explorer's repository. */ 'indexes' => [ \App\Models\Torrent::class, \App\Models\User::class, ], /** * You may opt to keep the old indices after the alias is pointed to a new index. * A model is only using index aliases if it implements the Aliased interface. */ 'prune_old_aliases' => true, ];