Search in formatted text in any fields

AnkiWeb addon 1126516755

Enables full-text search across all fields even when words are partially formatted, by storing unformatted field contents in the browser's sort field column.
AI-generated summary; may contain mistakes.

searchmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
12 (👍 11 · 👎 1)
Updated
2021-10-16
Anki versions
2.1.48~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON, Batchfile
Description language
en

Maintenance

abandoned

  • Last update or commit: 2021-10-16 (1842 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 4 open, 0 closed.
  • Pull requests: 1 open, 0 merged.
  • Median first response: 86 hours (2 answered issues and pull requests).

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

Multi search using a list of words

Performs multiple searches at once from a list of words or text via the search box context menu, displaying combined results with a Search column and arrow navigation.

card-creationsearch

12 votes 76% approval 👍 12 · 👎 0 Anki 24.06.3~ Updated 2024-09-12
Add Table has 1 fork →

Inserts customizable HTML tables through a dialog or keyboard shortcut, or converts selected pipe-delimited markdown-like text into a table; it does not edit existing tables.

formattingshortcutsfork-or-reupload

144 votes 93% approval 👍 140 · 👎 4 ⭐ 7 Anki 2.1.65~ Updated 2023-06-18

Description

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. There is a cost, the search column of the browser will contains extra data. It means that you'll be able to use full search in ankidroid, and probably in IOS.

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