Native full text search similar to Algolia/ElasticSearch
Firestore now natively supports search for exact words and phrases as well as semantic matches.
https://docs.cloud.google.com/firestore/mongodb-compatibility/docs/text-search
-
Sanjeeva Prasad commented
Good search engine optimization.🌿 Thank you 🌿
-
Willem-Jan van Kranenburg commented
Native full text search is not something that is implemented yet. Full Text Search when you use MongoDB with firestore is supported. This idea is definitely not completed yet.
-
Justin Fagnani commented
This shouldn't be marked as completed if we can't use it from the standard Firestore API.
-
Erik Wittern commented
@Seba Gnagnarella: Your statement seems like a sleight of hand. You state "Firestore now natively supports search". But what you actually mean is "Firestore Enterprise edition and Firestore with MongoDB compatibility now natively support search".
When this idea was stated here in 2023, there was only a single version of Firestore, now referred to as "Standard Edition". It does, to this day, not support full-text search.
We are heavily invested into "standard" Firestore since 2021. To use full-text search, we would basically have to migrate to another DB - an effortful, expensive and likely risky endeavour. From my point of view, Firestore does not support search (yet).
-
christophe geiser commented
After almost 3 years, any comments/thoughts from the team on this request ?
-
Mutia commented
Sebagai developer, biaya tambahan untuk layanan search pihak ketiga cukup memberatkan, terutama untuk startup kecil. Jika fitur ini ada secara native, Firebase akan menjadi solusi 'all-in-one' yang jauh lebih kompetitif."
-
Mutia commented
Saat ini, Firestore tidak mendukung pencarian kata kunci (full-text search) secara langsung. Kami harus menggunakan pihak ketiga seperti Algolia atau Typesense yang menambah biaya dan kerumitan. Saya menyarankan Firebase menyediakan fitur indexing pencarian native agar developer bisa mencari data teks dengan lebih mudah dan efisien di dalam konsol Firebase."
-
Chukwuemeka Stanley commented
If only firestore can just work exactly the way MongoDB does, it'll be a game changer
-
Enger Terseer commented
I have been using Firebase for about 2 years now…
Thank you guys for making this awesome project.
Full text search is a feature that delights everyone who uses it as it makes finding the things that matter to you easier to access…
There are alternatives that the Firebase team have suggested on their site and though these alternatives work, nothing beats native support…
It will be awesome having this feature and it’d make firebase more complete and robust for other application types like shopping and e-commerce
-
Rom Shiri commented
Most critical feature. More power to Firestore is needed. Look at MongoDB as a reference to what we expect a modern DB should be like.
-
Chaitra Ramarao commented
Ack. We are looking into supporting Full text Search as it's a highly requested capability.
-
Bas commented
Do you have any updates on this request? Could you maybe share if this feature will be on the roadmap in the near future?
-
Hi! Thank you so much for this feedback. The team is aware of the need for more querying capabilities and is investing heavily in this area. We have introduced COUNT and have some new things up our sleeves at Google I/O next week. That being said, We totally understand the need for full-text search itself and are looking to address this in the future.
In the meantime, we have extensions for full text search:
https://extensions.dev/extensions/algolia/firestore-algolia-search
https://extensions.dev/extensions/meilisearch/firestore-meilisearch
https://extensions.dev/extensions/elastic/firestore-elastic-app-search
https://extensions.dev/extensions/typesense/firestore-typesense-search -
Varun Raj commented
I think https://www.meilisearch.com/ is doing really great! it would be great if this can be integrated into Firebase as its open source