From f7dbb4167f326c4504d495430ba85048c45d6807 Mon Sep 17 00:00:00 2001 From: Jeremy Karst Date: Sat, 26 Sep 2026 16:41:21 -0400 Subject: [PATCH] Bump version number and improved tooltip for compact text index --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/quicksearch-gui/src/tips.rs | 11 ++++------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0282b3e..148391e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3108,7 +3108,7 @@ dependencies = [ [[package]] name = "quicksearch-core" -version = "1.1.10" +version = "1.2.0" dependencies = [ "argon2", "cfb", @@ -3150,7 +3150,7 @@ dependencies = [ [[package]] name = "quicksearch-gui" -version = "1.1.10" +version = "1.2.0" dependencies = [ "chrono", "eframe", diff --git a/Cargo.toml b/Cargo.toml index 56c45e9..3db946c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ pdf-extract = { path = "vendor/pdf-extract" } # Patched unbounded reads which co rtf-parser = { path = "vendor/rtf-parser" } # Patched a parsing error which occurs on UTF-16 characters [workspace.package] -version = "1.1.10" +version = "1.2.0" edition = "2021" license = "GPL-3.0-or-later" authors = ["Jeremy "] diff --git a/crates/quicksearch-gui/src/tips.rs b/crates/quicksearch-gui/src/tips.rs index ca59c33..07c7cce 100644 --- a/crates/quicksearch-gui/src/tips.rs +++ b/crates/quicksearch-gui/src/tips.rs @@ -240,15 +240,12 @@ pub static COMPACT_INDEX: Tip = Tip { body: "Builds the index of your files' text without recording where in \ each file every word sits, which makes it several times smaller \ and quicker to build.\n\n\ - Searches find exactly the same files either way: QuickSearch checks \ - each possible match against the text it keeps, and without \ - positions there are more possible matches to check. Searching file \ - contents for a word can take up to twice as long, and for a phrase \ - of common words, such as \"impl Iterator for\", up to three times.\n\n\ - Only the trigram tokenizer can use it. Other tokenizers always \ + Searches find exactly the same files either way, this simply trades \ + reduced index size and faster indexing speed for slower searches. \ + Only the trigram tokenizer can use this feature. Other tokenizers always \ record positions.", examples: &[ - "on, the default: 1.1 GB of source code made a 219 MB index instead of 1.3 GB, built a third faster.", + "on, the default: 1.1 GB of text documents went from a 1.3 GB index to 219 MB, built 30% faster.", "off when disk space is plentiful and you often search for phrases of common words.", ], caution: Some("Changing this rebuilds the index from scratch."),