2023-03-04 13:19:01 +01:00
|
|
|
# Index
|
|
|
|
|
|
|
|
These are components that offer functionality for the [index-service](../services-core/index-service).
|
|
|
|
|
|
|
|
## Indexes
|
|
|
|
|
|
|
|
There are two indexes with accompanying tools for constructing them.
|
|
|
|
|
|
|
|
* [index-forward](index-forward/) is the `document->word` index containing metadata
|
|
|
|
about each word, such as its position.
|
|
|
|
* [index-reverse](index-reverse/) is the `word->document` index.
|
|
|
|
|
2023-03-06 18:55:28 +01:00
|
|
|
These indices rely heavily on the [libraries/btree](../libraries/btree) and [libraries/array](../libraries/array) components.
|
2023-03-12 10:50:31 +01:00
|
|
|
|
|
|
|
## Algorithms
|
|
|
|
|
|
|
|
* [domain-ranking](domain-ranking/) contains ranking algorithms.
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
# Libraries
|
2023-03-12 10:50:31 +01:00
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
* [index-query](index-query/) contains structures for evaluating search queries.
|
|
|
|
* [index-journal](index-journal/) contains tools for writing and reading index data.
|
2023-03-12 10:50:31 +01:00
|
|
|
* [lexicon](lexicon/) contains a mapping between words' string representation and an unique integer identifier.
|
|
|
|
|