Does the latest Jackrabbit snapshot work properly with Lucene 3?

余生长醉 提交于 2019-12-11 04:00:18

问题


I work on a Java web based app that uses both Jackrabbit and Hibernate Search. The problem I was facing was that Jackrabbit had a heavy dependency on Lucene 2 but Search requires Lucene 3 to work. I managed to do a bit of "not so nice trickery" to get this working (i.e. I had to find a way to have both Lucene 2 and 3 JARs in my WEB-INF/lib dir without any class conflicts).

Although it all works fine, I want to get rid of Lucene 2 completely but Jackrabbit has been holding this up for me. I came across the following link the other day and I see that the Jackrabbit guys have managed to upgrade to be compatible with Lucene 3 in a "sandbox" branch.

My question is has anyone out there used this sandbox version? I have not had a chance to play with it yet so I was wondering if anyone can confirm that it does in fact work with Lucene 3 and if so did you face any issues when upgrading from the last stable Jackrabbit release to this sandbox / snapshot? This will help me greatly in my decision to upgrade to this now or to wait until they have another stable release.


回答1:


I recently merged the sandbox branch into trunk. See JCR-2415 for details.

So the latest Jackrabbit trunk is based on Lucene 3.0.3 now. All of the test cases including integration tests pass. However since we are still very early in the release cycle there might still be some issues.



来源:https://stackoverflow.com/questions/4970880/does-the-latest-jackrabbit-snapshot-work-properly-with-lucene-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!