docs/database: add some notes about JMdict_EntryScore
All checks were successful
Build and test / build (push) Successful in 9m59s
All checks were successful
Build and test / build (push) Successful in 9m59s
This commit is contained in:
@@ -16,3 +16,11 @@ shifting whenever the data was updated, leading to very big diffs. Making it be
|
||||
from the source data itself means that the values will be stable across updates.
|
||||
|
||||
Due to the way the data is structured, we can use the `elementId` as the ordering number as well.
|
||||
|
||||
### `JMdict_EntryScore`
|
||||
|
||||
The `JMdict_EntryScore` table is used to store the score of each entry, which is used for sorting search results. The score is calculated based on a number of variables.
|
||||
|
||||
The table is automatically generated from other tables via triggers, and should be considered as a materialized view.
|
||||
|
||||
There is a score row for every single entry in both `JMdict_KanjiElement` and `JMdict_ReadingElement`, split by the `type` field.
|
||||
|
||||
Reference in New Issue
Block a user