Homestyx hydra
Diffusion hydra 66df5b149309

Add a garbage collector for common ngrams

Description

Add a garbage collector for common ngrams

Summary:
Ref T13000. After an ngram is marked as "common", we can delete it from the storage table.

Currently, the only way to get ngrams marked as "common" is to manually run bin/search ngrams, so this has no impact on normal installs.

Test Plan: Ran bin/garbage collect, saw it start chewing through my local Maniphest ngrams table and removing common ngrams.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13000

Differential Revision: https://secure.phabricator.com/D18687

Details

Provenance
epriestleyAuthored on Oct 4 2017, 8:19 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:c767c971ca79: Add "persistence" types (data, cache, or index) to tables, and tweak what…
Branches
Unknown
Tags
Unknown

Event Timeline