How do we add features like did you mean this and suggestion

I am making a search engine using elasticsearch in which i want some features like 'Did you mean this' and 'Suggestions' like google does.
My index contains a document like this:
{
"نام" : "قرآنی انسائیکلوپیڈیا",
"موضوع" : " کائنات کی بامقصد تخلیق سے استدلال",
"عربی میں" : " الاستدلال بخلق الكون الهادف",
" Topic " : "The argument from creating the cosmos with a purpose (i.e. the argument from teleology)",
"حوالہ" : "أَلَمْ تَرَ أَنَّ اللّهَ خَلَقَ السَّمَاوَاتِ وَالْأَرْضَ بِالْحَقِّ إِن يَشَأْ يُذْهِبْكُمْ وَيَأْتِ بِخَلْقٍ جَدِيدٍ ",
"ترجمہ" : "(اے سننے والے!) کیا تو نے نہیں دیکھا کہ بیشک اللہ نے آسمانوں اور زمین کو حق (پر مبنی حکمت) کے ساتھ پیدا فرمایا۔ اگر وہ چاہے (تو) تمہیں نیست و نابود فرما دے اور (تمہاری جگہ) نئی مخلوق لے آئے",
"باب" : "(إِبْرَاهِيْم, 14 : 19)",

}
This is just a single document i have large amount of documents like this one with same fields, so how can i add such features on a index containing document like this one!
Please help

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