Basem Khirat

Results 20 comments of Basem Khirat

Please give more details with code snippets

Dear @sjakhetia, Can you show me your code has the problem and the error exception, Anyway you should use `geo_point` elasticsearch datatype not `double` Have a look in this page...

Hi @sjakhetia, There are two ways to set index mapping: 1) Using query builder: ```php ES::create("world", function($index){ $index->shards(5)->replicas(1)->mapping([ 'countries' => [ 'properties' => [ 'name' => [ 'type' => 'string',...

hi @ddragas, please provide the usage of these methods in README file.

Hi @sjakhetia Please make sure that elastic connection configurations setted in `es.php` is correct. For amazon, check ELASTIC_HOST and make sure that you are using server internal IP and also...

if you are using .env file, you may use config outside?

Hi @maralbe You have to run: ```bash php artisan es:indices:create irantalent_map_1 ``` we are using the config keys as index names in command line.

It's an elasticsearch error that you cannot create alias with same index name created before as names are unique. You should now delete created index name [if not wanted] or...

Hi @maralbe, are you sure :) ? you might run `php artisan scout:import` twice

Please provide a code snippet.