CatgirlIntelligenceAgency/code/features-index/index-reverse
Viktor a278fc6296
Increase search result relevance (#8)
* Increase accuracy of the position bits.
* Increase their width to 56.
* Use a rolling position scheme for bits 16-56 to increase the average accuracy.
* Result ranking overhaul
* Optimized queries
* BM25 in the index service's ranking
* Make gui less jank
* Javadocs for ranking parameters.
2023-04-07 20:18:08 +02:00
..
src Increase search result relevance (#8) 2023-04-07 20:18:08 +02:00
build.gradle The refactoring will continue until morale improves. 2023-03-12 10:50:31 +01:00
readme.md Update readme.md 2023-03-22 17:09:48 +01:00

Reverse Index

The reverse index contains a mapping from word to document id.

There are two tiers of this index.

  • A priority index which only indexes terms that are flagged with priority flags1.
  • A full index that indexes all terms.

The full index also provides access to term-level metadata, while the priority index is a binary index that only offers information about which documents has a specific word.

[1] See WordFlags in common/model and KeywordMetadata in features-convert/keyword-extraction.

Central Classes