[PR #6810] feat(quick_search): just fuzzy match note titles for larger notes, while still matching on exact strings #4892

Open
opened 2025-10-01 16:40:42 -05:00 by giteasync · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TriliumNext/Trilium/pull/6810
Author: @perfectra1n
Created: 8/27/2025
Status: 🔄 Open

Base: mainHead: feat/quick-search-decrease-word-limit


📝 Commits (3)

  • 6c26fa7 feat(quick_search): just fuzzy match note titles for larger notes, while still matching on exact strings
  • 93e8459 feat(quick_search): remove some old variables that are no longer used now
  • 912bc61 feat(search): also limit note content that can be searched, but keep searchability of titles

📊 Changes

2 files changed (+77 additions, -27 deletions)

View changed files

📝 apps/server/src/services/search/expressions/note_content_fulltext.ts (+68 -5)
📝 apps/server/src/services/search/utils/text_utils.ts (+9 -22)

📄 Description

Should close #6808


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TriliumNext/Trilium/pull/6810 **Author:** [@perfectra1n](https://github.com/perfectra1n) **Created:** 8/27/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/quick-search-decrease-word-limit` --- ### 📝 Commits (3) - [`6c26fa7`](https://github.com/TriliumNext/Trilium/commit/6c26fa709e2a2b486e8ff81f09fadf58f146b0dd) feat(quick_search): just fuzzy match note titles for larger notes, while still matching on exact strings - [`93e8459`](https://github.com/TriliumNext/Trilium/commit/93e8459d4bf2b0d982a05ca78bb8edeef6bbccb0) feat(quick_search): remove some old variables that are no longer used now - [`912bc61`](https://github.com/TriliumNext/Trilium/commit/912bc61730c773b5ec62f760c3aa548ccccd31e9) feat(search): also limit note content that can be searched, but keep searchability of titles ### 📊 Changes **2 files changed** (+77 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `apps/server/src/services/search/expressions/note_content_fulltext.ts` (+68 -5) 📝 `apps/server/src/services/search/utils/text_utils.ts` (+9 -22) </details> ### 📄 Description Should close #6808 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
giteasync added the
pull-request
label 2025-10-01 16:40:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TriliumNext/Trilium#4892
No description provided.