Elasticsearch and multiple sites with multiple languages

(Dima) #1

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?


(David Pilato) #2

Did you read already this?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.