tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Packages: search, a trigram inverted index

build indexes (DocId, text) pairs; search answers the ids of the
documents containing a query — exactly, as a substring match on the
normalized text (lowercase, trimmed): the query's trigrams intersect
the postings (search/bitmap's compressed bitmaps) into candidates, and
each candidate is verified with a real substring test. Queries shorter
than three characters scan the corpus; an empty one matches it. add
(upsert) and remove change one document at a time, so a process can
keep one index per user (toki2's shape).

Property tests (gen) against a naive scan of random corpora, build
vs. add-in-order, and remove.

Part of #380.

olivier · il y a 3 sem. · 3683f1b13b300badc4cd84cdaa6f3c29ca023005

Parents 517e5a7

2 fichiers modifiés, 458 ajouts, 0 suppressions