Re:How Discord Indexes Billions of Messages Using Elasticsearch
by charlie-r on Thursday March 16, 2017 @09:56PM
(#13890749)
Their Elasticsearch type mapping shows they're using the English fulltext analyzer for message content, I'm curious if they're planning on supporting fulltext search for other languages in the future.
[ Parent
| on HN ]
Re:How Discord Indexes Billions of Messages Using Elasticsearch
by jhgg on Thursday March 16, 2017 @10:40PM
(#13890942)
Maybe one day. It'd be trivial to add per-locale templates. The hard part really is exposing that in our new guild flow (hey - what language is this server gonna be in) - and also handling if someone chooses to change their server language (this would have to trigger a re-index). We'd also have to replicate those language analyzers in our client to do proper highlighting.