[siren-user] How reliant is SIREn on Lucene 3.x?

Rob Vesse rvesse at dotnetrdf.org
Thu Aug 18 09:20:03 IST 2011


Hi Renaud
Ok that's useful to know, the Lucene.Net folks are on 2.9.2 so I imagine 
most of the necessary stuff should be present.
The plan for me personally is just to port the basic SIREn functionality 
i.e. not the Solr functionality though the Lucene.Net folks may also want 
to port the Solr integration but I have no idea what the state of Solr for 
.Net is.  I don't think there's a port like there is for Lucene AFAIK.
Thanks for the information,
Rob

----------------------------------------
From: "Renaud Delbru" <renaud.delbru at deri.org>
Sent: 17 August 2011 11:51
To: "SIREn User Mailing List" <siren at lists.deri.org>
Subject: Re: [siren-user] How reliant is SIREn on Lucene 3.x? 

Hi Rob,

On 16/08/11 13:10, Rob Vesse wrote:
> Hi All
>
> I've been talking recently to some of the Lucene.Net guys about working
> with them to help port SIREn to Lucene.Net but the problem we
> potentially have is that SIREn is built against Lucene 3.x which the
> Lucene.Net folks have not yet ported.
>
> So how reliant is SIREn on Lucene 3.x features, does it actually use any
> 3.x specific features or is it just built against it because its the
> latest version of Lucene?

The main changes in Lucene 3.0 was the new token stream api [1]. But 
this was introduced in Lucene 2.9. However, one class has been renamed 
(CharTermAttribute) differently in Lucene 3.0 which breaks compilation.
When I try to compile siren-core using lucene 2.9.4, I get errors like

java.lang.NoClassDefFoundError: 
org/apache/lucene/analysis/tokenattributes/CharTermAttribute

This is something to modify in order to make SIREn compatible with 
lucene 2.9.*. There are also all the Lucene Version flags (i.e., 
LUCENE_31) to change back to LUCENE_29.

The rest of siren-core and siren-parser should work. Concerning 
siren-solr, I don't exactly know what were the modifications, but I 
think they were minimal.

I hope this helps, let me know if you need more information. I could 
also provide you the source code of SIREn before the upgrade to Lucene 
3.0. This might helps you understanding what needs to be changed.

[1] 
http://www.slideshare.net/LucidImagination/whats-new-in-apache-lucene-30

Kind regards,
-- 
Renaud Delbru

_______________________________________________
siren mailing list
siren at lists.deri.org
http://lists.deri.org/mailman/listinfo/siren

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deri.org/pipermail/siren/attachments/20110818/8dafdad1/attachment.htm>


More information about the siren mailing list