3101b74580
This is a system-wide change. The index used to have a lexicon, mapping words to wordIds using a large in-memory hash table. This made index-construction easier, but it also added a fairly significant RAM penalty to both the index service and the loader. The new design moves to 64 bit word identifiers calculated using the murmur hash of the keyword, and an index construction based on merging smaller indices. It also became necessary half-way through to upgrade guice as its error reporting wasn't *quite* compatible with JDK20. |
||
---|---|---|
.. | ||
src/main/java/nu/marginalia/term_frequency_dict | ||
build.gradle | ||
readme.md |
Term Frequency Dictionary
This dictionary is used by various parts of the system to evaluate for example the TF-IDF score of a keyword.
Central Classes
See Also
- tools/term-frequency-extractor constructs this file