CatgirlIntelligenceAgency/code/index
2023-03-10 16:46:56 +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 Word feature bit for words that appear in the URL, new search profile for plain text files, better plain text titles. 2023-03-10 16:46:56 +01:00
index-reverse Word feature bit for words that appear in the URL, new search profile for plain text files, better plain text titles. 2023-03-10 16:46:56 +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.