How To Search Within Notes and Custom Fields

Basic Search

The default search on all the Bitwarden apps and clients uses a “Basic Search” format – just type in a string of text, and Bitwarden will look for that string within important fields in your vault entries, such as an item’s Name, a Folder name, a Username, or URI. For such fields, it does not matter if you type in the entire string exactly or if you just type in part of the string into the search bar. For example, if you use your email address [email protected] as the username for a login item in your vault, you can search by typing either the full email address or just the substring gmail and Bitwarden will find it.

Image1

Basic Search also works for Notes entries and Custom Fields as well, but with a caveat. Strings stored within these fields will not be searched by a sub-string search by default. For example, if you had a Custom Field defined in an item with the name SecondaryEmail and the value was [email protected], entering only hotmail in the search bar will not find the item. Instead, you must either type in the entire email address exactly as it was stored or use a Full-text Search to find the item.

Image2

Image3
.

Full-text Search (available in web vault, desktop apps, and browser extensions only)

The most reliable way to search for matching values in Notes or Custom Fields is with a full-text search. Using the above example of a Custom Field named SecondaryEmail, one could find all entries containing the string hotmail using this search term:

>*hotmail*

Note the leading > symbol, which tells Bitwarden to use full-text search, as well as the asterisk (*) characters surrounding the word hotmail, which tells the search engine to look for that sub-string anywhere in any entry.

Image4

If you are certain that the email ends in hotmail.com, then you could also just use one wildcard character by typing in your search term like this:

>*hotmail.com

Image5
.

See a video demonstration of searching within Notes below:

.

Other Capabilities of Full-text Searches

With full-text searchers, you also have some control over which folders or collections to search, you can build AND, OR, and NOT Boolean searches, or you can specify to search only within certain fields, such as an item’s Name, Notes, or a specific custom field, if you like. More information on wielding full-text searches can be found here:

.

Helpful References:

Search your Vault | Bitwarden Help Center

Custom Fields | Bitwarden Help Center

Search within and inside all notes

10 Likes

But why do not Bitwarden use full-text search by default, letting us type: hotm and get the exptected resaults?

If there is good reasoning for this, please add a an option in settings, giving users the ability to set their Bitwarden to full-text search by default, giving info on consequences.

2 Likes

Exactly, this is what I am thinking right now. Clearly, they need to improve the user friendliness and user ability of this application.

1 Like

Nah. If the default search was the advanced, full-text search, even more users would complain it was too difficult, You can’t please everyone,

Besides, is it really all that hard to type in one character to activate the full-text search? Seriously guys.

Lastpass does this.

I have multiple accounts signed up with the same email, the only variation being +1,+2,+3 etc.

I have to search:

myemail99+1*
myemail99+2*

So I have press two additional keys on the keyboard (1 more backspace and 1 more star) to go through and search the last email I signed and add 1 on top.

Why not just make the search just like any other Ctrl + F search? not sure what the point of the * wildcard adds other than an extra key to press and it’s not intuitive that users will know that. People want to see any and all matches and then they can select the one that is useful to them. Rather than not showing anything at all, it’s not intuitive.

1 Like

Rather than complain about the search workaround I posted here to try to help other users who were stuck searching inside of notes, please add your comments and vote to this feature request that seeks to add basic search functions to note fields and custom fields:

@agamon - FWIW, I agree with you that basic search should be extended to at least custom fields by default. I don’t understand, either, why searching inside of custom fields or notes requires a full-text search using special syntax. Your use-case is a good one - I hope you will add it to the feature request thread, along with your vote.

2 Likes

@dh024 In the wildcard searches shown in the video demonstration, why is the leading > character not needed?

Honestly, I don’t understand it either. My guess is that sub-string searches are disabled when using basic search inside notes and custom fields, so adding the asterisk enables it, without having to enter a full-text search with the > character. Makes little sense to me, but at least there is a workaround, albeit non-elegant.

1 Like