Elasticsearch usage for dictionary application

(cubuzoa) #1


I am developing a dictionary application by using elasticsearch for
querying. This dictionary application does not have only words, it may
contain sentences that is why i decided to use elastic search for full text
searching. My problem is data structure part. For example, user enters en
-> fr entry on my application like "yes" -> "oui" . When another user
searches for "oui" it should have result for "yes" . So should i send both
"yes" -> "oui" and "oui" -> "yes" to elastic search for indexing? I am new
on elasticsearch and sorry if i asked meanless question.



(system) #2