Jason Wasem
ee6f988c35
refactor(search): simplify null check and use join for text concatenation
...
根据代码审查建议优化代码:
- 移除多余的 `elements &&` 检查,因为 Array.isArray() 本身可处理 null/undefined
- 使用 `join(" ")` 替代 `toString()` 以确保文本元素用空格分隔,更适合全文搜索
- 移除显式类型声明,让 TypeScript 自动推断
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 10:01:13 +08:00
Jason Wasem
ecb972c71c
fix(search): add null check for canvas elements in fulltext search
...
添加对 Canvas 笔记 elements 字段的空值检查,防止当 elements 为 null 或非数组时搜索功能报错。
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 00:42:12 +08:00
perfectra1n
e89646ee7c
fix(quick_search): centralize the repeated exactWordMatch function, per Gemini's suggestion
2025-11-12 16:49:43 -08:00
perfectra1n
dee8c115ab
fix(quick_search): resolve word issues to not trigger substring matches
2025-11-12 16:43:59 -08:00
perf3ct
2a0472ae42
fix(search): resolve compilation issue due to variables with the same name
Checks / main (push) Has been cancelled
2025-11-03 11:44:43 -08:00
perf3ct
8e227a6146
fix(search): make sure to highlight exact search results too
Checks / main (push) Has been cancelled
2025-10-21 14:35:31 -07:00
perf3ct
fb0d971e48
fix(search): also support exact phrase matching such as ='test phrase'
2025-10-21 10:12:14 -07:00
perf3ct
4fa4112840
feat(search): also support the use of ="exact match search string"
2025-10-10 12:23:57 -07:00
perf3ct
50f0b88eff
fix(search): resolve issue when using = operator in search
2025-10-10 09:51:52 -07:00
perf3ct
5b669ca287
feat(search): also implement defensive checks for undefined notes
2025-08-10 21:59:20 +00:00
perf3ct
e9409577db
feat(quick_search): only "fallback" to fuzzy search, if there aren't that many search results found from user's query
2025-08-03 20:43:16 +00:00
perf3ct
057040af06
feat(quick_search): limit the size of the Notes to search through, to 2MB
2025-08-03 19:49:43 +00:00
perf3ct
c603783a44
feat(quick_search): show the "matched" text in the search results, even if "edit distance" (misspelling) occurs
2025-08-03 19:49:43 +00:00
perf3ct
1928356ad5
feat(quick_search): edit distance searching in quick search works
2025-08-03 19:49:43 +00:00
perf3ct
6c79be881d
feat(search): allow for search through very large notes
2025-08-03 01:44:55 +00:00
perf3ct
c436455b32
feat(tests): implement tests for updated fuzzy search operators, and text_utils used in search
2025-08-03 00:16:47 +00:00
perf3ct
18f89b979d
feat(search): normalize search text (fonts, etc.)
2025-08-02 23:59:45 +00:00
perf3ct
8094259c78
feat(search): implement edit_distances (misspelling tolerances) into fulltext search
2025-08-02 23:59:21 +00:00
Elian Doran
ba7c93967e
chore(server): fix some type errors
2025-05-28 19:03:53 +03:00
Elian Doran
b2af043110
chore(nx/server): move source code
2025-04-22 17:16:41 +03:00
Elian Doran
62dbcc0a2e
chore(nx): move all monorepo-style in subfolder for processing
2025-04-22 10:06:06 +03:00
Elian Doran
a59954eb17
chore(monorepo/server): rows import
2025-04-18 12:34:27 +03:00
Elian Doran
5058891af8
chore(monorepo/server): move server-side source code
2025-04-18 12:09:56 +03:00