[Yanel-dev] lucene dependencies

Michael Wechner michael.wechner at wyona.com
Mon Dec 10 20:55:14 CET 2007


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"/>

- 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

- 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 - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list