You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, word searches are completely unsorted and will appear in a random order. I've been trying to figure out a proper way to order words (by frequency and/or relevance) however I've been unsuccessful so far. I've tried using the freq table to sort on the columns kw and value however that does not work properly.
Trying to figure out a proper way to sort words is tricky and will require more attention.
Ordering by kw and value does not yield favourable results;
SELECTentries.entrFROM (SELECT entr
FROM kanj
WHERElower(txt) $equals lower(:q)
UNION ALLSELECT entr
FROM rdng
WHERE txt $equals hiragana(:reading)
OR txt $equals katakana(:reading)
UNION ALLSELECT entr
FROM gloss
WHERElower(txt) $equals lower(:q)) entries
LEFT JOIN freq ONfreq.entr=entries.entrANDfreq.rdngIS NOT NULLANDfreq.kanj IS NULLORDER BYfreq.kw, freq.value
The text was updated successfully, but these errors were encountered:
That would be a method but not a very good one, words need to be sorted by relevancy/frequency because after all you would not want irregular words at the top of your search results.
Currently, word searches are completely unsorted and will appear in a random order. I've been trying to figure out a proper way to order words (by frequency and/or relevance) however I've been unsuccessful so far. I've tried using the
freq
table to sort on the columns kw and value however that does not work properly.Trying to figure out a proper way to sort words is tricky and will require more attention.
Ordering by kw and value does not yield favourable results;
The text was updated successfully, but these errors were encountered: