[Xapian-devel] a confusion within chert_postlist.cc
Hurricane Tong
zhangshangtong.cpp at qq.com
Sat Feb 15 02:01:05 GMT 2014
Hi,
I try to get familiar with Xapian by http://trac.xapian.org/ticket/326, but I'm confused with a function.
ChertPostlistTable::get_doclength
( in chert_postlist.cc , line 63 )
By annotation, this function is designed to return the length of a doc at a did, but why does it return
doclen_pl->get_wdf() ?
doclen_pl is an autoptr pointing to a postlist of a term, its current doc is the doc with desired did, so I think this function should return doclen_pl->get_doclength() .
------------------
HurricaneTong,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/20140215/7c9f75fd/attachment.html>
More information about the Xapian-devel
mailing list