Skip to content

Instantly share code, notes, and snippets.

@demirhanali
Last active August 13, 2020 10:13
Show Gist options
  • Save demirhanali/105619af7c543e38af9dd5c21d4f090e to your computer and use it in GitHub Desktop.
Save demirhanali/105619af7c543e38af9dd5c21d4f090e to your computer and use it in GitHub Desktop.
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Search Engine
|--------------------------------------------------------------------------
|
| This option controls the default search connection that gets used while
| using Laravel Scout. This connection is used when syncing all models
| to the search service. You should adjust this based on your needs.
|
| Supported: "algolia", "null"
|
*/
'driver' => env('SCOUT_DRIVER', 'elastic'),
/*
|--------------------------------------------------------------------------
| Elastic Configuration
|--------------------------------------------------------------------------
|
*/
'elastic' => [
'connection' => [
'ip' => env('ELASTIC_IP', ''),
'port' => env('ELASTIC_PORT', ''),
],
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment