Not being able to serialize PyLucene objects shouldn't stop you from
exposing the interface over CORBA.    Why can't you build a new remote
interface?

vic


On Tue, 18 Jan 2005 15:31:04 +0200, Yura Smolsky <[EMAIL PROTECTED]> wrote:
> Hello, Andi.
> 
> I see. I will have not any success with distributing PyLucene over
> CORBA b/c all things are in the deep java code...
> :(
> 
> I have to find out a way to make distributed search without Searchable
> interface...
> 
> >> Is there a way to serialize PyLucene objects?..
> 
> AV> PyLucene objects are python objects produced by SWIG wrapping a Java 
> Lucene
> AV> object returned by libgcj. Java Lucene objects are serializable, so 
> that's the
> AV> easy part. The SWIG objects, though, contain the C++ pointer to the Java
> AV> Lucene object as exported by the native interface (CNI). That C++ pointer
> AV> value is only valid in the process that created it... there lies the
> AV> not-so-easy part.
> 
> Yura Smolsky,
> 
> 
> _______________________________________________
> pylucene-dev mailing list
> [email protected]
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to