Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@18alantom
Copy link
Member

@18alantom 18alantom commented Jun 16, 2025

Improves SQLite FTS based search and sets it as default.

  1. Uses sensible heuristics for exact match ranking
  2. Allows boolean operators for more control [AND, OR, NOT]: hello NOT world matches "hello" but not "hello world"
  3. Allows explicit prefixing search: hell* worl* matches "hello world"
  4. Allows exact searches: "hello world" matches only "hello world"
  5. Defaults to final word prefixed search: hello wor matches "hello world"

Also, removes porter stemming, and recognizes -_ as tokens.

@18alantom 18alantom merged commit d1eec66 into master Jun 16, 2025
2 of 5 checks passed
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 this pull request may close these issues.

2 participants