I am trying to figure out gow to index the following in ES.
I have a lot of documents which are crawler from website with various language. Each document has a category such as Airport, restaurant, river, beach etc ., and it's language such as Arabic, English.. like
doc { language:"eng" , content :"something here" , category:"beach" }
doc { language:"vn" , content :"Xin chao" , category:"beach" }
I want to index and search documents with each languages;
I choose English options, and search with query " here " => RESUTLS
Should I :
Setup each Elastic Core ( per machine per language) for per language. JUST COPY ES to run :)
Eg : create elasticsearch_ENGLISH, elastichsearch_VIETNAMESE
- created each language with each index of ElasticSearch Eg: create indexs
/english/type/
/vietnames/type/ . When I search some query, I just search only index of language
OR do it some other way I am not aware of :) ?