460998d512
This provides a much cleaner separation of concerns, and makes it possible to get rid of a lot of the gunkier parts of the index service. It will also permit lowering the Xmx on the index service a fair bit, so we can get CompressedOOps again :D |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
readme.md |
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
- ReverseIndexFullConverter constructs the full index.
- ReverseIndexFullReader interrogates the full index.
- ReverseIndexPriorityConverter constructs the priority index.
- ReverseIndexPriorityReader interrogates the priority index.