CatgirlIntelligenceAgency/code/features-index
Viktor Lofgren 64acdb5f2a (domain-ranking) Clean up domain ranking
The domain ranking code was admittedly a bit of a clown fiesta; at the same time buggy, fragile and inscrutable.

Migrating over to use JGraphT to store the link graph
when doing rankings, and using their PageRank implementation.  Also added a modified version that does PersonalizedPageRank.
2024-02-16 18:04:58 +01:00
..
domain-ranking (domain-ranking) Clean up domain ranking 2024-02-16 18:04:58 +01:00
index-forward (doc) Documentation corrections 2024-02-10 14:16:01 +01:00
index-journal (index-journal) Improve documentation and code quality 2024-02-15 10:51:49 +01:00
index-query (index-query) Add some tests for the QueryFilter code 2024-02-15 12:03:30 +01:00
index-reverse (index-journal) Improve documentation and code quality 2024-02-15 10:51:49 +01:00
result-ranking (index-ranking) Adjust the BM25P factors a bit 2024-01-30 21:27:29 +01:00
readme.md (refactor) Remove features-search and update documentation 2023-10-09 15:12:30 +02:00

Index

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

Indexes

There are two indexes with accompanying tools for constructing them.

  • index-reverse is code for word->document indexes. There are two such indexes, one containing only document-word pairs that are flagged as important, e.g. the word appears in the title or has a high TF-IDF. This allows good results to be discovered quickly without having to sift through ten thousand bad ones first.

  • index-forward is the document->word index containing metadata about each word, such as its position. It is used after identifying candidate search results via the reverse index to fetch metadata and rank the results.

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

Algorithms

Libraries

  • index-query contains structures for evaluating search queries.
  • index-journal contains tools for writing and reading index data.