Hello, Victor. How? :)
I need to pass Query, Document, Hit objects to methods of interface. But I have no idea how to pass them.. Maybe you have alternative way of building of such interface. Can you describe in short your proposal?.. VN> Not being able to serialize PyLucene objects shouldn't stop you from VN> exposing the interface over CORBA. Why can't you build a new remote VN> interface? VN> vic VN> 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 >> VN> Yura Smolsky, _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
