[Xapian-tickets] [Xapian] #362: Serialise termfreqs and reltermfreqs together in network protocol
Xapian
nobody at xapian.org
Tue May 5 08:47:01 BST 2009
#362: Serialise termfreqs and reltermfreqs together in network protocol
----------------------------+-----------------------------------------------
Reporter: richard | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.4
Component: Backend-Remote | Version: SVN trunk
Severity: normal | Blockedby:
Platform: All | Blocking:
----------------------------+-----------------------------------------------
When the term statistics are serialised (in serialise_stats() in
net/serialise.cc), first the mapping of termfreqs is serialised, followed
by the mapping of reltermfreqs. This involves serialising all the terms
in the query twice. It would be more efficient, and now match with the
structure used to hold these in Weight::Internal, to store each term,
followed by the two termfreqs for that term. I've added a FIXME (in
r12597) to note that we should do this next time we break the remote
protocol.
--
Ticket URL: <http://trac.xapian.org/ticket/362>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list