[Yanel-dev] lucene dependencies

Michael Wechner michael.wechner at wyona.com
Tue Dec 11 23:28:31 CET 2007


Michael Wechner wrote:

> Hi
>
> I have implemented Lucene indexing/searching into the Yarep "new 
> virtual  file system" repo impl, whereas I am using Lucene 2.2.0 
> because it contains the IndexWriter.update method simplifying the 
> incremental update of already indexed documents.
>
> Now the problem is that for instance Jackrabbit 1.3.3 uses Lucene 
> 2.0.0 which is not compatible and some other Yanel resources use also 
> different lucene versions resp. related classes. I did an overview as 
> follows:
>
> - Wiki resource 
> (src/contributions/resources/wiki/src/build/dependencies.xml)
>  <dependency groupId="apache-org-lucene" 
> artifactId="lucene-highlighter" version="1.x"/>
>
> - Nutch resource 
> (src/contributions/resources/nutch/src/build/dependencies.xml)
>  <dependency groupId="apache-org-lucene" artifactId="lucene-core" 
> version="1.9.1"/>
>  <dependency groupId="apache-org-lucene" artifactId="lucene-misc" 
> version="1.9.1"/>


I have upgraded the Nutch resource to Lucene 2.2.0 and it still seems to 
work fine

>
> - Jackrabbit 1.3.3
>   depends on Lucene 2.0.0 whereas I was told that Jackrabbit 1.4 will 
> depend on Lucene 2.2.0


I have upgraded yarep to use Jackrabbit 1.4-dev (which should be 
released very soon) and also uses Lucene 2.2.0

Cheers

Michi

>
> - Yarep
>   depends on Lucene 2.2.0
>
> Well, of course we can update some of the above resources, but still 
> the conflict of the various dependencies is a real problem and I am 
> not sure how we can best fix this.
>
> I know we have discussed this before, but new suggestions are very 
> welcome.
>
> Cheers
>
> Michi
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list