Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
257 stars 89 forks source link

Refactor the way the list of quran translations is generated #498

Open assem-ch opened 6 years ago

assem-ch commented 6 years ago

Current behavior, the translations file should be always there since its main resource.. after indexing translations, we run update_translations_indexed_list to get all translations from index and store them in the translation file. current problems involve that the file is essential and also should be tracked , and the operation of listing is very slow.

Right behavior, no file should be by default, if no file the list should be considered as empty dictionary. Translations should be added in the indexing phase not after indexing: