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

better full text search: build with paragraph or page #7

Open
STRRL opened this issue Jul 23, 2023 · 0 comments · May be fixed by #8
Open

better full text search: build with paragraph or page #7

STRRL opened this issue Jul 23, 2023 · 0 comments · May be fixed by #8

Comments

@STRRL
Copy link
Owner

STRRL commented Jul 23, 2023

currently contents in table text_fts are stored at the "word" level. so when we search content with multi-word keywords, there would be mostly no results.

I propose a new way to build the full-text search feature:

  • build the table text_fts as the "page" level, it means all the content in one screen shot would be stored in one row.
  • use the same query to search the result, find the images
  • for each image in the previous step, find the available keyword, and markup it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant