CatgirlIntelligenceAgency/code/features-search/result-ranking
Viktor Lofgren 3101b74580 (index) Move to a lexicon-free index design
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.
2023-08-28 14:02:23 +02:00
..
src (index) Move to a lexicon-free index design 2023-08-28 14:02:23 +02:00
build.gradle Upgrade antique lombok plugin 2023-08-23 14:34:32 +00:00
readme.md Increase search result relevance (#8) 2023-04-07 20:18:08 +02:00

Result Ranking

Contains various heuristics for deciding which search results are important with regard to a query. In broad strokes BM-25 is used, with a number of additional bonuses and penalties to rank the appropriate search results higher.

Central Classes

See Also