Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #170: Re-create FTS Search table with newer tokenizer #357

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TWiStErRob
Copy link
Owner

@TWiStErRob TWiStErRob commented Oct 18, 2023

@TWiStErRob TWiStErRob added a:enhancement bettering of an existing feature in:search search entry, search results labels Oct 18, 2023
@TWiStErRob TWiStErRob added this to the v1.2.1 milestone Oct 18, 2023
Comment on lines +12 to +15
-- Re-insert all data into the new table.
INSERT INTO Search_Refresher (_id) SELECT _id FROM Item;
-- Compact database indexes for faster search experience.
INSERT INTO Search(Search) VALUES('optimize');
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Measure how much this costs to make sure users won't run out of disk space.

Copy link
Owner Author

@TWiStErRob TWiStErRob Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on 34

Upgraded (189 ms) database v5 to v6, step 5 to 6: v5(68)::3.39.2@/data/user/0/net.twisterrob.inventory.debug/databases/MagicHomeInventory

Comment on lines +8 to +9
name,
location
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Include description in same upgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:enhancement bettering of an existing feature in:search search entry, search results
Projects
None yet
Development

Successfully merging this pull request may close these issues.

International search
1 participant