Search in formatted text in any fields

AnkiWeb addon 1126516755

Enables searching formatted text in any field by storing extra data in the browser's search column, increasing collection size.
AI-generated summary; may contain mistakes.

searchbugfix-workaroundmobile-compatible

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
12 (👍 11 · 👎 1)
Updated
2021-10-16
Anki versions
2.1.48~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1811 days before the snapshot (2021-10-16).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.252020-03-10
2.1.262.1.472020-06-01
2.1.48+2021-10-16
History across monthly snapshots

Loading…

Similar addons

Browser search result highlighter

Highlights browser search matches inside Anki notes, supports the full search language with auto-scroll, scrollbar indicators, code-view matches, and settings.

search

Rating 17 👍 17 · 👎 0 ⭐ 5 Anki 24.11~ Updated 2026-06-06
Transparent Text

Hides selected text in Anki notes using transparent color, keeping it searchable, editable, synchronized, and stored without extra fields or template changes.

formattingshortcuts

Rating 0 👍 0 · 👎 0 ⭐ 0 Anki 25.07.1~ Updated 2026-07-06

README

Search in all fields

Rationale

One strange limitation of anki is that searching in formatted text sometime fails. More precisely, it fails when only a part of the searched word or sentence contains some formatting (bold, italic, underline...). Unless the word searched is in the «search field», in which case the search succeeds.

This add-on's allow to search in any field as in the search field.

This add-on also allows you to save space in your collection if you never sort your card by search field.

Usage

  • Tools>Full search: this should be used after you install the add-on. It should also be used if you edited some notes from ankidroid, anki os, or any version of anki without this add-on.
  • Tools>Normal search: if you decide to stop using this add-on, you should use this to have the standard search.

Warning

Your collection will be slightly bigger. This means that full sync will takes more bandwidth. Note however that it don't become extremly bigger. My current collection used to be 116M without this add-on and became 121M with it.

Configuration:

The principal configuration option is "sort field". When it is set to false, you won't be able to sort by "sort field" in the browser, and it'll reduce the size of your collection.

For the two other options, see config.md

Technical

The sort field column of the browser will now contains, in this order:

  • the sorted field (this ensure that if you sort cards using the sort field, the sort will remains the same with this add-on than without. Except if your field only contain a number)
  • every other field, without the formatting (except the ones which contains no formating).

Internal

This method modifies anki.Note.flush. The new method calls the old one.

Version 2.0

None

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-full-search
Addon number 1126516755