Andi Vajda wrote:

On Thu, 5 Apr 2007, David Pratt wrote:

Hi Andy. I am likely going to give this a try if there is some possibility for it to work out. I have a basic pb client and server I have built before so coming up with something to try should not be too bad. I was reading that there was some capability in lucene to merge the results. I assumed this to be hits objects but perhaps I was wrong. Does a capability to merge results exist in pyLucene (that may be available to use)?

What is a 'pb' client and server ?

Sorry, pb is Perspective Broker, a protocol for the twisted framework. One can create clients and servers using an efficient serialization of objects over the wire. The main thing is that it provides access to objects on either side of the communication to make it fairly easy to execute methods on them. Just another rpc but with a safer object serialization than a pickle and more efficient than xmlrpc (or something as ridiculous as soap).


There is no extra functionality in PyLucene over Lucene. Whatever Lucene can do - except for the RemoteSearchable API - PyLucene has wrapped and hence can do. There are caveats to this blanket statement with regards to extending Lucene classes from Python - these extension points are handcoded and need a valid use case for implementation.

All PyLucene is is a big wrapper around Lucene. Every PyLucene instance acts as a proxy via C++/CNI on the corresponding Java Lucene instance.

I am not aware of Lucene result merging capabilities. That doesn't mean they don't exist, I'm no Lucene expert. All I can say is that if they do exist in Java Lucene, they exist (or can be made to exist) in PyLucene. The best way to find out if they exist at all is to ask the Lucene users list.

Andi..


Ok sure, not a problem. I realize PyLucene wraps lucene but between the two I do not know besides remote api, whether there is any other functionality that has not been wrapped. I'll see what more I can find on the lucene list to try and educate myself a bit more. Many thanks.

Regards,
David
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to