nicoorfi
11/6/2018 - 7:57 AM

Shopware and Elasticsearch commands

Shopware and Elasticsearch commands

//Populate
php bin/console sw:es:index:populate

//Switch index
php bin/console sw:es:switch:alias $shopId $sw_shop1_TIMESTAMP

//Clean up 
php bin/console sw:es:index:cleanup

//Show indexes
curl localhost:9200/_cat/indices?v

//Delete index
curl -XDELETE localhost:9200/$sw_shop1_TIMESTAMP