Hurricane Tong
2014-Jun-01 13:49 UTC
[Xapian-devel] number_of_entries in brass_postlist used for doclen
Hi, In brass_postlist.cc, it seems in merge_doclen_changes, the value number_of_entries is not concerned. Is it always be set to 0? I don't find any code dealing with the updating of this value when the postlist is used for doclen. And there seems something wrong with the wiki of xapian. When I try to open links like http://trac.xapian.org/ticket/326, I get Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.22 (Debian) Server at trac.xapian.org Port 80 ------------------ Shangtong Zhang,Second Year Undergraduate, School of Computer Science, Fudan University, China. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20140601/db25c36a/attachment.html>
Olly Betts
2014-Jun-01 23:17 UTC
[Xapian-devel] number_of_entries in brass_postlist used for doclen
On Sun, Jun 01, 2014 at 09:49:42PM +0800, Hurricane Tong wrote:> In brass_postlist.cc, > it seems in merge_doclen_changes, the value number_of_entries is not > concerned. > Is it always be set to 0? > I don't find any code dealing with the updating of this value when the > postlist is used for doclen.This value isn't needed for the doclen postlist - the number of entries will just be the number of documents in the database, which we store elsewhere along with other per-database statistics. So for your doclength-specific encodings, there's no need to store this at all.> And there seems something wrong with the wiki of xapian. > When I try to open links like http://trac.xapian.org/ticket/326, > I get > > Service Temporarily UnavailableThe server rebooted itself recently, and it looks like the stale pid file was preventing trac restarting. I've just restarted it by hand - thanks for letting us know. Cheers, Olly