basemkhirat/elasticsearch

How to save each Model to it's own index with Scout?

Opened this issue · 0 comments

Hello @basemkhirat ,

Thank you for your work! I am trying to learn how the plugin works and hopefully you can help me with this.

How could a Model be saved in it's own index using this Plugin as Scout driver?

The way we use Elasticsearch is that each model (Posts, Comments, etc.) is stored in its own index. We believe this is how it's meant to be used. And the creators of Elasticsearch are also dropping types in the future: https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html