about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitSearchIdx.pm
DateCommit message (Collapse)
2017-02-10repo: search index flushes for excessive active refs
For certain repos, having too many active refs will cause memory usage problems. Mitigate the Xapian problems, for now, and consider a switch to GDBM_File or similar for repos with more refs.
2017-02-10search: remove unnecessary abstractions and functionality
This simplifies the code a bit and reduces the translation overhead for looking directly at data from tools shipped with Xapian. While we're at it, fix thread-all.t :)
2017-02-10repo: search index no longer indexes for --contains
It's extraordinarily expensive to add these terms for each and every commit.
2017-02-09repo: increase search index flush granularity
We need to flush Xapian more frequently to account for gigantic commits which introduce lots of text, so do it when accounting for each line processed, and not for each commit processed.
2017-02-08repobrowse: start wiring up git search
Much more work on this will be needed, but at least explicit flush points prevents OOMs on my system.