Commit Graph

55 Commits

Author SHA1 Message Date
ac7deae608 word_search: remove duplicate results 2025-07-07 12:47:20 +02:00
7978b74f8d lib/{_data_ingestion/search}: store kanjidic onyomi as hiragana 2025-06-25 20:18:28 +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
b855a1dc48 filter_kanji: fix implementation, add test 2025-06-20 22:44:26 +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
fdd15df344 lib/search/filter_kanji: init 2025-05-22 19:45:10 +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
8bff2c6799 KANJIDIC: add orderNum to yomi + meaning 2025-05-21 12:57:08 +02:00
b8eba03000 lib/search: use const table names 2025-05-21 12:38:25 +02:00
73640d01f6 lib/search/kanji: make taughtIn into int? 2025-05-19 20:18:36 +02:00
2875f7a65f lib/search/kanji: allow empty names for radicals 2025-05-19 19:48:17 +02:00
155a3aa658 treewide: format 2025-05-19 16:40:37 +02:00
0351b7a9df lib/search: make optional word args available in public api 2025-05-19 16:40:36 +02:00
ebe29db092 lib/search: document public search functions 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
501d3a089e lib/search/radical_search: implement 2025-05-19 16:40:35 +02:00
e0ffd89ff4 lib/search/word_search: use map comprehensions 2025-05-19 16:40:35 +02:00
e30ed8ba9b lib/search/kanji: add more data to result 2025-05-19 16:40:34 +02:00
31c3fb807e treewide: redo handling of kanjidic radicals 2025-05-19 16:40:34 +02:00
60d2017473 lib/search/kanji: add codepoints 2025-05-19 16:40:33 +02:00
135d81db80 lib/search/kanji: query kanji parts 2025-05-19 16:40:33 +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
6c580e95e2 lib/search/word_search: pagination 2025-05-16 17:06:00 +02:00
b07fc8f4b3 lib/word_search: calculate isCommon 2025-05-14 20:59:57 +02:00
8299572225 migrations: add view for base/furigana queries 2025-05-14 17:12:31 +02:00
78ba1bae1a lib/search: query readings for xrefs 2025-05-14 17:12:31 +02:00
87383c8951 lib/search: query jlpt tags on word search 2025-05-14 17:12:31 +02:00
59e8db5add Query more detailed information about langauge source 2025-05-14 17:12:30 +02:00
9038119eb7 Consistently use senseId name everywhere 2025-05-14 17:12:29 +02:00
8ddba55e43 lib/util: move escapeStringValue to sqlite utils 2025-05-13 11:51:55 +02:00