mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
![]() * Avoid rebuilding regex in field search * Special case search in all fields * Don't repeat mid nodes in field search sql Small speed gain for searches like `*:re:foo` and reduces the sql tree depth if a lot of field names of the same notetype match. * Add sql function to match fields with regex * Optimise used field search algorithm - Searching in all fields is a special case. - Using native SQL comparison is preferred. - For Regex, use newly added SQL function. * Please clippy * Avoid pyramid of doom * nt_fields -> matched_fields * Add tests for regex and all field searches * minor tweaks for readability (dae) |
||
---|---|---|
.. | ||
builder.rs | ||
card_mod_order.sql | ||
deck_order.sql | ||
mod.rs | ||
note_cards_order.sql | ||
note_decks_order.sql | ||
note_due_order.sql | ||
note_ease_order.sql | ||
note_interval_order.sql | ||
note_lapses_order.sql | ||
note_reps_order.sql | ||
notetype_order.sql | ||
parser.rs | ||
sqlwriter.rs | ||
template_order.sql | ||
writer.rs |