07-01-2025 10:11 AM
Hey hey Connect community!
I'm here with the Firefox Search & Suggest team to get your feedback on a new feature called Semantic History Search.
Below are some details on what the feature is, why we're working on it, how to enable it, and how to provide valuable feedback right here in this thread.
Firefox users often struggle recalling previously visited websites, especially when relying solely on Firefox’s direct-match history search.
When exact keywords are forgotten, it can be hard to find the right input to recall important sites from browsing history. Human memory is not generally based on URLs and page titles, but rather on contextual meaning.
To solve this problem, we’re testing client-side natural language querying of history in the address bar.
Once enabled, Firefox will download a small language model (Xenova/all-MiniLM) and create a vector database based on your existing history. This new resource will provide the relational context to enable Firefox history suggestions that are semantically related to your search. All matching is done on-device. No new data collection or model training is involved, and your browsing history doesn’t leave your device. The existing history data on your device is made more rich and referential. This means your private browsing history stays private, which makes it difficult for us to understand whether your experience is improving.
For example, if you’re a basketball fan, you might have visited “NBA.com”. Existing Firefox history search would not match the term “basketball” to NBA.com because the term does not appear in the page title or URL. The Semantic History search improvement would match, as “NBA” and “basketball” are closely related in semantic terms.
We’ve tested our own profiles and synthetic clients, but everyone’s history is unique. We need your feedback on how well this works for you.
First some reminders:
Follow these steps, and ask questions in the comments below.
1. Download or update to the latest desktop version of Firefox Nightly: 141.0a1 or newer.
2. Ensure that history suggestions are enabled in settings (about:preferences#search)
3. Enable the feature:
4. Enable debugging icons:
5. The vector database will take ~10 minutes to build, and will happen in the background. Semantic history suggestions may be less relevant during this time.
Feel free to comment below if you have any questions or need support.
If you find issues or would like to provide general feedback, please feel free to comment in this post as well.
A big thanks in advance for your participation 💪
07-01-2025 05:13 PM
would you be able to provide a bit more info on what is embedded in the vector db? page title, page content, dynamic content, images (unlikely with this small model, but image captions perhaps?) How are you chunking/overlapping chunks into vector embedding?
07-04-2025 01:34 PM
It's currently limited to page title and page descriptions (though many pages do not make this available).
07-02-2025 12:47 AM - edited 07-02-2025 12:47 AM
This must be opt-in even if shipped, I would not consent to my data being fed to this model (even locally) and should not be forced to before I have a chance to decline.
07-02-2025
02:36 AM
- last edited on
07-02-2025
08:02 AM
by
Jon
You know what's been bugging me about Firefox lately? When I type %word%, which is exactly what's in the URL of a site I've been visiting, the address bar shows anything but that. The address bar shows Google suggestions, shows sites with %word% in the title, shows recommendations from Firefox "partners" (i.e. advertisers), and there's no way to turn on URL priority.
Now you're doing the same thing in your history search.
07-09-2025 08:31 AM
This could be a neat idea, but adding yet another kind of "history" database or UI to Firefox should be very low priority until it has one that stores and can present history in the plain English meaning of the word, which is "list of past events in chronological order".
Imagine your hypothetical basketball fan wants to know how they got to NBA.com -- they remember reading a forum thread where someone linked it to support some point, but they they don't recall the forum topic. That user then runs smack into bug 604295 (from 15 years ago). By re-visiting NBA.com through semantic history search, they all but destroy the information they are looking for. It is inaccessible to anyone who doesn't know how to go spelunking in Firefox's data with custom SQL queries.