[pylucene-dev] serialize Lucene objects
Andi Vajda
vajda at osafoundation.org
Mon Jan 17 12:56:57 PST 2005
> Is there a way to serialize PyLucene objects?..
PyLucene objects are python objects produced by SWIG wrapping a Java Lucene
object returned by libgcj. Java Lucene objects are serializable, so that's the
easy part. The SWIG objects, though, contain the C++ pointer to the Java
Lucene object as exported by the native interface (CNI). That C++ pointer
value is only valid in the process that created it... there lies the
not-so-easy part.
Andi..
More information about the pylucene-dev
mailing list