Firestore finally addresses its biggest weakness by integrating native search, effectively eliminating the need for complex third-party syncs. However, gatekeeping this essential feature behind an Enterprise tier makes it feel more like a premium tax than a standard upgrade.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Full text search is finally here for Firestore!Added:
[music] >> Eight years ago, we introduced Firestore to developers. And eight years ago, we started to frequently get this one feature request.
>> [music] >> More Morgan Chen in videos.
No.
Full-text search.
We are happy to announce that full-text search is making its way to Firestore Enterprise Edition.
Let's take a look at integrating this within our application.
I have an application [music] that I made as an issue tracker.
I'm going to quickly be able to filter through issues that contain keywords.
Prior to full-text search being available [music] in Firestore Enterprise, I would have to work with a third-party search provider to index my data. This was fine. However, integrating directly with Firestore reduces my compute costs because I don't need to export this data to an external search service. And also eliminates billing [music] costs from the external service as well.
Everything is integrated.
I also could have used something like vector search to help narrow requests.
As well, by using vector search, I can easily determine semantic meaning from requests.
This has the caveat that it also adds additional overhead for reaching out to the Gemini API to generate embeddings for the content.
>> [music] >> And also generate embeddings on the request for the content.
And if my content was too large to generate embeddings from, I would need to come up with a chunking strategy to divide my content into smaller chunks.
Having said that, let's examine my example a little more closely to get started.
To get full-text search working, I need to first create an index of the search terms I am interested in.
I head to the Firestore page in the Google Cloud Console and go to the index screen. On the index screen, I select the options create an index and to create a search index.
On the create search index screen, I give my index a name, a search type, either text or geo, the collection ID, in my case it's issues since that is where my issues are stored, [music] and the field I want to index on for full text search.
I then want to select my query scope. In my example, I will use the collection scope instead of the collection group.
Morgan has a great video describing the differences between these two query scopes, and you should definitely check out the video linked below. And we click create.
Now we wait for the index to be built.
This takes a couple minutes.
Once the index is built, we can start querying our collection using the search modifier for pipeline queries.
And we can also negate search terms or combine multiple search terms within a query. The code looks something like this, >> [music] >> where you execute a pipeline query on a collection with a search request.
In my application, we can see I have about 500 total issues, and when I query for storage, I get 67 issues.
When I add a minus token, since I cannot help with token issues, I get a total of 62 issues.
And there you have it. With a few short lines, we are able to query our Firestore enterprise database using full text search.
I have extra documentation linked in the description below.
I am Noe, and I cannot wait to see what you build next.
>> [music] [music] [music]
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 views•2026-05-28
How agent o11y differs from traditional o11y — Phil Hetzel, Braintrust
aiDotEngineer
450 views•2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29
🚀 BCS613C Compiler Design | Module 1 to 5 Schema Evaluation 🔥 | VTU 6th Sem 💯 #VTU #bcs613c #exam
Pranavaa-y4y
104 views•2026-06-02











