CatgirlIntelligenceAgency/code/index
2023-03-07 21:26:04 +01:00
..
index-forward Move all code to a code directory. 2023-03-07 17:14:32 +01:00
index-journal Move all code to a code directory. 2023-03-07 17:14:32 +01:00
index-query Fix for valuation bug in index code that wouldn't sort bad-ish items properly. 2023-03-07 21:26:04 +01:00
index-reverse Move all code to a code directory. 2023-03-07 17:14:32 +01:00
lexicon Move all code to a code directory. 2023-03-07 17:14:32 +01:00
readme.md Move all code to a code directory. 2023-03-07 17:14:32 +01:00

Index

These are components that offer functionality for the index-service.

Indexes

There are two indexes with accompanying tools for constructing them.

  • index-forward is the document->word index containing metadata about each word, such as its position.
  • index-reverse is the word->document index.

These indices rely heavily on the libraries/btree and libraries/array components.

Libraries

  • index-query contains structures for evaluating search queries.
  • index-journal contains tools for writing and reading index data.
  • lexicon contains a mapping between words' string representation and an unique integer identifier.