2019-08-07 09:36:02 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return array(
|
|
|
|
|
|
|
|
|
|
/*
|
2022-04-19 16:07:27 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Custom Elasticsearch Client Configuration
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This array will be passed to the Elasticsearch client.
|
|
|
|
|
| See configuration options here:
|
|
|
|
|
|
|
|
|
|
|
| http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_configuration.html
|
2019-08-07 09:36:02 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'config' => [
|
2022-03-16 15:16:36 +01:00
|
|
|
'hosts' => explode(",", env('ELASTICSEARCH_HOSTS')),
|
2019-08-07 09:36:02 +02:00
|
|
|
'retries' => 1,
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
/*
|
2022-04-19 16:07:27 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Default Index Name
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This is the index name that Elasticquent will use for all
|
|
|
|
|
| Elasticquent models.
|
2019-08-07 09:36:02 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'default_index' => 'dam_index',
|
|
|
|
|
|
|
|
|
|
);
|