Hi, all
I am just starting to work with Elasticsearch and I need write custom extension.
There should be support of multiple sites and multiple languages for each of the site(the last had different tables). So I wonder what is the best way to organize the indices?
To clarify I have such structure: Setup -> sites -> (different languages and tables)
As I understand the structure simply could be next:
'index' - for sites
'type' - for languages
'fields' - all fields from site
Or the second option is:
'index' - for sites
'type' - table enities
'fields' - table fields with subfields for languages
So could you help/give advice what option will be better? Maybe you know another option?
Thanks,
Dima