• Alfredo Di Napoli's avatar
    Add addDocumentsToHyperCorpus function · 223d0d09
    Alfredo Di Napoli authored
    This commit refactors the codebase to add a new function called
    `addDocumentsToHyperCorpus` which generalises the common pattern of
    calling `insertMasterDocs` and later adding the documents via the DB
    `Doc` functions.
    
    It also "lowers" some functions to run into a plain `DBCmd`.
    223d0d09
Searx.hs 8.83 KB