33 lines
896 B
PHP
33 lines
896 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
return array(
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| 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
|
||
|
|
*/
|
||
|
|
|
||
|
|
'config' => [
|
||
|
|
'hosts' => ['http://127.0.0.1:9200'],
|
||
|
|
'retries' => 1,
|
||
|
|
],
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Default Index Name
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| This is the index name that Elasticquent will use for all
|
||
|
|
| Elasticquent models.
|
||
|
|
*/
|
||
|
|
|
||
|
|
'default_index' => 'dam_index',
|
||
|
|
|
||
|
|
);
|