Module elipdotter::index

source ·
Expand description

The index (lookup table of words) lives here. The trait Provider (and OccurenceProvider) enables multiple types of indices to be defined.

The only one (for now) is Simple. That stores a list of all the documents which contains each word in the input data (e.g. web pages). It then fetches those documents again and finds occurrences within those.

The DocumentMap makes it performant to get the document ID from name and vice versa.




  • Returns the next valid UTF-8 character.