algolia

Algolia Firebase and Android integration

别等时光非礼了梦想. 提交于 2019-12-03 16:42:49
In my Android app, I am using Firebase as a database. I want to add some search capability and after my research I have found that Algolia is proper for me. Algolia's Firebase tutorial explains how to integrate my existing Firebase database with Algolia. In this tutorial, they provide some Node.js code (which I am not familiar with). In the first gathering of data, I just copied the integration code, did the necessary changes and ran it on Windows terminal: the data is now imported from Firebase to Algolia. But there are some other necessary specifications like updating, removing data. They

Multi-language indexes with Laravel Scout and Algolia

混江龙づ霸主 提交于 2019-12-03 13:28:30
How should I manage the multi-language indexes (For example: page / page_translations models should become page_en / page_fr indexes). I am using " Dimsav\Translatable " package. Page model : id, status_id, created_at, updated_at PageTranslation model : id, page_id, locale, title, slug, body Algolia offers support for this ( https://www.algolia.com/doc/guides/search/multilingual-search/ ) but I am not sure how to achieve this with Laravel Scout . The only solution that comes in my mind is to index both language rows (from the translations model) in the same index storing the locale and