Commit Graph

42 Commits

Author SHA1 Message Date
ab28b5788b search/word_search: fix english queries without pageSize/offset 2026-03-02 12:01:13 +09:00
c0c6f97a01 search/word_search: fix casing of SearchMode variants 2026-03-02 12:01:11 +09:00
a954188d5d Fix a few lints 2026-03-02 12:01:11 +09:00
e824dc0a22 search/word_search: split data queries into functions 2026-03-02 12:01:10 +09:00
a696ed9733 Generate matchspans for word search results
Some checks failed
Run tests / evals (push) Failing after 12m29s
Build database / evals (push) Successful in 12m36s
2026-02-24 21:27:12 +09:00
81db60ccf7 Add some docstrings
Some checks failed
Build database / evals (push) Has been cancelled
2026-02-24 15:13:33 +09:00
bb68319527 treewide: add and apply a bunch of lints 2025-07-17 00:24:35 +02:00
93b76ed660 word_search: include data for cross references 2025-07-16 18:32:28 +02:00
29a3a6aafb treewide: dart format 2025-07-16 15:23:04 +02:00
f30465a33c search: add function for fetching multiple word entries by id at once 2025-07-15 00:52:25 +02:00
d9006a0767 word_search: fix count query 2025-07-13 20:34:39 +02:00
60898fe9a2 word_search: fix pagination 2025-07-13 20:12:10 +02:00
1868c6fb41 word_search: don't throw error on empty results 2025-07-09 14:57:19 +02:00
7247af19cb word_search: always order exact matches first 2025-07-07 13:27:50 +02:00
ac7deae608 word_search: remove duplicate results 2025-07-07 12:47:20 +02:00
80b3610a72 Store type enum as CHAR(1) 2025-06-25 20:18:27 +02:00
54705c3c10 word_search: add TODO 2025-06-24 23:04:47 +02:00
c32775ce7a use ids for \{kanji,reading\}Element tables 2025-06-24 19:33:02 +02:00
8ec9771222 word_search: add '.' filter for FTS input 2025-06-20 23:27:15 +02:00
e2fe033bf4 word_search: fix english search, filter '%' 2025-06-20 23:23:09 +02:00
a6a48c196d word_search: filter input for FTS chars 2025-06-20 23:10:10 +02:00
f8813e0ae3 word_search: add function for retrieving single entry by id 2025-06-20 21:57:43 +02:00
bd0fee1b2d lib: move table_names to separate dir 2025-05-31 16:21:59 +02:00
42e7c95f59 lib: format 2025-05-27 20:02:53 +02:00
6eee49d2d1 lib/search/word: order english queries by score 2025-05-23 15:28:00 +02:00
f819280268 migrations: combine score tables 2025-05-23 15:27:56 +02:00
03a8e11d91 JMdict_BaseAndFurigana: move isFirst column out of dart query 2025-05-22 19:57:46 +02:00
c208ef75f2 migrations: precalculate word search score with triggers 2025-05-22 16:57:06 +02:00
52a686ac29 lib/search/word: fix english sql query 2025-05-22 16:57:05 +02:00
0351b7a9df lib/search: make optional word args available in public api 2025-05-19 16:40:36 +02:00
128dd14a0d lib/search: generate list of ? instead of interpolation 2025-05-19 16:40:35 +02:00
e0ffd89ff4 lib/search/word_search: use map comprehensions 2025-05-19 16:40:35 +02:00
6d7c068e7b lib/search/word_search: query reading/kanji elements in correct order 2025-05-18 23:53:30 +02:00
b6661c734f lib/search/word_search: add word count search 2025-05-16 23:50:01 +02:00
080638e7ef lib/search/word_search: assert no missing rubys 2025-05-16 21:30:33 +02:00
3f267b78d3 lib: format 2025-05-16 21:06:19 +02:00
84ae7eca9e lib/search/word_search: move some score calculation to virtual column 2025-05-16 21:03:37 +02:00
369fcdbd4b lib/search/word_search: fix rubification 2025-05-16 18:46:57 +02:00
33cf5028f4 lib/search/word_search: score and order results by several metrics 2025-05-16 18:46:39 +02:00
bb9550380c lib/search/word_search: limit entry id query to single column 2025-05-16 17:06:01 +02:00
3680827176 lib/search/word_search: use const table names 2025-05-16 17:06:01 +02:00
9d9ce840fa lib/search/word_search: split 2025-05-16 17:06:00 +02:00