Category : ElasticSearch

BUG FIX: Elasticsearch is not working and closes immediately

I tries re-installing Elasticsearch 6.3.0 on my local server, and installed Java JDK, the most recent one, then when I try to start the Elasticsearch from installation folder/6.3.0/bin/elasticsearch.exe the cmd screen opens and immedietely closes. Here is the error : Unrecognized VM option 'UseConcMarkSweepGC'

Elasticsearch different url examples

Here are a sample list for different operations you might need to do with elatsicsearch indices.

Deleting and re-index an elasticsearch index in Laravel

If you need to change the mapping of an elasticsearch index, then you have to remove it first and then re-create and re-index it again. Here is how you can do this in a Laravel application.