"Eric W. Biederman" <[email protected]> wrote: > My current goal is to make it pleasant to read linux-kernel and possibly > other large archives on my personal machine. Right now the git > trees for linux-kernel are aboug 6.8G. Small enough to fit in RAM. > > The Xapian indexes are about 63G. Not small enough to fit in ram. > They are also not fast to update when I pull in a new batch of messages > from linux-kernel.
Interesting, how long does it take to do an incremental index medium/full for you? Setting XAPIAN_FLUSH_THRESHOLD after my patch yesterday should help noticeably, especially if you're on HDD. > So I am looking at using git grep as a stand-in for the Xapian indexes > when indexlevel eq 'basic'. > > Given my personal ratio of searches to indexing I think I will save > time in doing that. I don't have it all wired up yet to know if it will > work well, but I suspect it will. Totally understandable, and yes, if you can fit the LKML repos into RAM it should be usable enough for a single user. "git grep" also has the advantage of being able to use regexps, which isn't possible with Xapian at the moment. > Is it only the web interface where the advanced search functionality is > available? Yes. I don't think there's a good way to implement search for NNTP on the server side... IMAP has specs for implementing search; but I don't know how much overlap there is with what our web UI currently offers. -- unsubscribe: [email protected] archive: https://public-inbox.org/meta/
