[Xapian-discuss] [Python] Serializing documents

Rafael "SDM" Sierra sdm at underlinux.com.br
Mon Jan 15 12:15:13 GMT 2007


Hi, I have a basic version of "xapian-tcpsrv" written in python that only
receive a list of documents and add/replace at database.

As I can't serialize xapian.Document over cPickle, I was created "XDocument"
class, with the same properties of xapian.Document (terms, values, position
lists), but I think that is better send Document as is, it will be more
faster (or no?)

There are access to the function serialize_document[1] by the xapian
bindings?

[1] -
http://www.xapian.org/docs/sourcedoc/html/serialise_8h.html#c35f4439ba2feb3f3397d05050df4809

-- 
SDM Underlinux
http://stiod.wordpress.com
Membro da equipe UnderLinux
--
PEP-8
There is only 2 kinds of peoples in the world, who know English, and me. oO


More information about the Xapian-discuss mailing list