Re: CPSLuceneCatalog and Solr

Racinet Georges <[email protected]> Wed, 11 Feb 2009 19:06:37 +0100
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
On Feb 11, 2009, at 12:02 PM, Santi Camps wrote:

> Hello
>
> Anybody has tried to use CPSLuceneCatalog with a Lucene server other
> than NXLucene ?
>
> I'm thinking to use it with Solr.   It seems that CPSLuceneCatalog
> uses XML-RPC to call NXLucene, so seems it could work

XML-RPC is nothing but a framework to expose a remote APIs via HTTP.

In our case, I would be a bit surprised if NXLucene and Solr would be  
API compatible, but I wasn't very much informed of the plans while  
NXLucene was being developped (started to use it myself around march  
2006).

Some evidence against direct interoperability is that the search  
result XML format for Solr is different from NXLucene's (which is  
actually RSS), as you can see there:
	http://www.ibm.com/developerworks/java/library/j-solr1/

Of course if you're planning to write an Solr connector for  
nuxeo.lucene, you might avoid a bit of code duplication  since if I  
remember well, calls are well insulated.
In any case, such a development would be an interesting project,  
assuming Solr exposes enough of Lucene, which I don't really doubt.

Regards,

--
Georges Racinet
Zope/CPS/Plone expertise, assistance & development






_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel