872b6df22a
* 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) |
||
---|---|---|
.. | ||
.cargo | ||
benches | ||
build | ||
cargo | ||
i18n | ||
i18n_helpers | ||
linkchecker | ||
src | ||
tests/support | ||
.gitignore | ||
bench.sh | ||
BUILD.bazel | ||
Cargo.toml | ||
empty.rs | ||
README.md | ||
rustfmt.bzl | ||
rustfmt.toml |
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.