mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
try to speed up query
This commit is contained in:
1 parent
dd52b82cc7
commit
7df0ad6066
3 files changed
+56
-20
No files matched your search
@@ -155,6 +155,7 @@ impl YomitanWriter {
|
||||
CREATE INDEX IF NOT EXISTS dictionaries_lang ON dictionaries (lang);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS terms_dict_id ON terms (dict_id);
|
||||
CREATE INDEX IF NOT EXISTS terms_term_norm ON terms (term_norm);
|
||||
CREATE INDEX IF NOT EXISTS terms_reading ON terms (reading);
|
||||
CREATE INDEX IF NOT EXISTS terms_term_reading_score ON terms(term, reading, score DESC);
|
||||
|
||||
|
||||
Reference in new issue
Block a user