[pylucene-dev] pylucene and recommendations for RAM

Andi Vajda vajda at osafoundation.org
Thu Apr 5 17:08:10 PDT 2007


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 ?

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..


More information about the pylucene-dev mailing list