[PR #4184] [CLOSED] feat: implement folder indexer #6112

Closed
opened 2026-03-23 22:21:46 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4184
Author: @appflowy
Created: 12/21/2023
Status: Closed

Base: mainHead: folder_search


📝 Commits (10+)

  • 7bcf339 feat: implement folder indexer
  • 3d3b7c0 feat: sqlite search views using fts5
  • 9d3be72 feat: add view indexing to user manager
  • a9fa328 feat: implement folder indexer
  • 3689f51 feat: add sqlite search documents
  • fbb1917 feat: add document indexing to user manager
  • 9529d6d feat: add document indexing to folder indexer
  • f389fdd chore: remove unnecessary test
  • f33b865 chore: spawn blocking for add and update index operations
  • 7c9f1db feat: perform full text search only on data column

📊 Changes

18 files changed (+899 additions, -31 deletions)

View changed files

📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+8 -7)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+7 -7)
📝 frontend/rust-lib/Cargo.lock (+8 -7)
📝 frontend/rust-lib/Cargo.toml (+7 -7)
📝 frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs (+100 -1)
📝 frontend/rust-lib/flowy-core/src/integrate/user.rs (+31 -0)
📝 frontend/rust-lib/flowy-document/src/document.rs (+11 -1)
📝 frontend/rust-lib/flowy-document/src/lib.rs (+1 -0)
📝 frontend/rust-lib/flowy-folder/Cargo.toml (+2 -1)
📝 frontend/rust-lib/flowy-folder/src/lib.rs (+1 -0)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+22 -0)
📝 frontend/rust-lib/flowy-folder/src/manager_init.rs (+2 -0)
frontend/rust-lib/flowy-folder/src/search/folder_indexer.rs (+222 -0)
frontend/rust-lib/flowy-folder/src/search/mod.rs (+3 -0)
📝 frontend/rust-lib/flowy-sqlite/src/lib.rs (+4 -0)
frontend/rust-lib/flowy-sqlite/src/search.rs (+393 -0)
📝 frontend/rust-lib/flowy-user/src/services/mod.rs (+1 -0)
frontend/rust-lib/flowy-user/src/services/search_indexing.rs (+76 -0)

📄 Description

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/AppFlowy-IO/AppFlowy/pull/4184 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 12/21/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `folder_search` --- ### 📝 Commits (10+) - [`7bcf339`](https://github.com/AppFlowy-IO/AppFlowy/commit/7bcf339764ca1603f9e25162cb1bfaaddd002f7f) feat: implement folder indexer - [`3d3b7c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/3d3b7c0ed19279b78135e693d10deb7b670016a2) feat: sqlite search views using fts5 - [`9d3be72`](https://github.com/AppFlowy-IO/AppFlowy/commit/9d3be72b36c6ecceaacd86e12b2156fe8cfcc20b) feat: add view indexing to user manager - [`a9fa328`](https://github.com/AppFlowy-IO/AppFlowy/commit/a9fa3289509d3d69bcc6527fc920439f9c6f4871) feat: implement folder indexer - [`3689f51`](https://github.com/AppFlowy-IO/AppFlowy/commit/3689f51603823b7415beeed6e9b21ac6ca7e9492) feat: add sqlite search documents - [`fbb1917`](https://github.com/AppFlowy-IO/AppFlowy/commit/fbb19170b5798140b7ced85e0a2e4f3a23dda415) feat: add document indexing to user manager - [`9529d6d`](https://github.com/AppFlowy-IO/AppFlowy/commit/9529d6d35a7ebdcf1fc37b842b67b451117b437d) feat: add document indexing to folder indexer - [`f389fdd`](https://github.com/AppFlowy-IO/AppFlowy/commit/f389fdda132f0a61ccfcb19b7d0950ad51d0de5b) chore: remove unnecessary test - [`f33b865`](https://github.com/AppFlowy-IO/AppFlowy/commit/f33b8658f63ed6ba547b1dfa3a3d189da0aa506e) chore: spawn blocking for add and update index operations - [`7c9f1db`](https://github.com/AppFlowy-IO/AppFlowy/commit/7c9f1dbfcb8de45901fed9c1d8b927234a7d763f) feat: perform full text search only on data column ### 📊 Changes **18 files changed** (+899 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+8 -7) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+7 -7) 📝 `frontend/rust-lib/Cargo.lock` (+8 -7) 📝 `frontend/rust-lib/Cargo.toml` (+7 -7) 📝 `frontend/rust-lib/flowy-core/src/deps_resolve/folder_deps.rs` (+100 -1) 📝 `frontend/rust-lib/flowy-core/src/integrate/user.rs` (+31 -0) 📝 `frontend/rust-lib/flowy-document/src/document.rs` (+11 -1) 📝 `frontend/rust-lib/flowy-document/src/lib.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-folder/Cargo.toml` (+2 -1) 📝 `frontend/rust-lib/flowy-folder/src/lib.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+22 -0) 📝 `frontend/rust-lib/flowy-folder/src/manager_init.rs` (+2 -0) ➕ `frontend/rust-lib/flowy-folder/src/search/folder_indexer.rs` (+222 -0) ➕ `frontend/rust-lib/flowy-folder/src/search/mod.rs` (+3 -0) 📝 `frontend/rust-lib/flowy-sqlite/src/lib.rs` (+4 -0) ➕ `frontend/rust-lib/flowy-sqlite/src/search.rs` (+393 -0) 📝 `frontend/rust-lib/flowy-user/src/services/mod.rs` (+1 -0) ➕ `frontend/rust-lib/flowy-user/src/services/search_indexing.rs` (+76 -0) </details> ### 📄 Description #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:21:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#6112
No description provided.