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
/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 :) ?
Optimize Multilingual Results with Elasticsearch We are glad to answer yes, it definitely can handle multilingual search, and the default configuration already provides great results for virtually all of the world's most common languages.
Elasticsearch allows you to store, search, and analyze large amounts of structured and unstructured data. This speed, scale, and flexibility makes the Elastic Stack a powerful solution for a wide variety of use cases, like system observability, security (threat hunting and prevention), enterprise search, and more.
Every Elasticsearch index made up of one or more shards which are internally Lucene index which has a hard limit of ~2 billion(precisely equal to INT_MAX value-128) on maximum no of the document as explained in this link and this link.
No, Elasticsearch does not require a schema. It is a schema-less database, which means that you do not need to define a schema before you index data.
Not sure I fully understood your concern.
If you need to search on the full cluster (I mean search in every language), you can't create one setup per language.
That said, you have many options:
It's not a full answer but some clues to help you...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With