简体   繁体   English

最新的Jackrabbit快照可以与Lucene 3一起正常使用吗?

[英]Does the latest Jackrabbit snapshot work properly with Lucene 3?

I work on a Java web based app that uses both Jackrabbit and Hibernate Search. 我在同时使用Jackrabbit和Hibernate Search的Java网络应用程序上工作。 The problem I was facing was that Jackrabbit had a heavy dependency on Lucene 2 but Search requires Lucene 3 to work. 我面临的问题是Jackrabbit对Lucene 2的依赖性很大,但是Search要求Lucene 3可以工作。 I managed to do a bit of "not so nice trickery" to get this working (ie I had to find a way to have both Lucene 2 and 3 JARs in my WEB-INF/lib dir without any class conflicts). 我设法做了一些“不太好的技巧”来使它正常工作(即,我必须找到一种在我的WEB-INF / lib目录中同时包含Lucene 2和3 JAR的方法,而没有任何类冲突)。

Although it all works fine, I want to get rid of Lucene 2 completely but Jackrabbit has been holding this up for me. 尽管一切正常,但我想完全摆脱Lucene 2,但Jackrabbit一直为我效劳。 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. 前几天,我碰到了以下链接 ,我发现Jackrabbit家伙已经设法升级到与“沙盒”分支中的Lucene 3兼容。

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? 我还没有机会使用它,所以我想知道是否有人可以确认它实际上可以与Lucene 3一起使用,并且从上一个稳定的Jackrabbit版本升级到此沙箱/快照时,您是否遇到任何问题? This will help me greatly in my decision to upgrade to this now or to wait until they have another stable release. 这将极大地帮助我决定立即升级到此版本,或者等到他们发布另一个稳定版本时,对我有很大帮助。

I recently merged the sandbox branch into trunk. 我最近将沙箱分支合并到了主干中。 See JCR-2415 for details. 有关详细信息,请参见JCR-2415

So the latest Jackrabbit trunk is based on Lucene 3.0.3 now. 因此,最新的Jackrabbit主干现在基于Lucene 3.0.3。 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. 但是,由于我们仍处于发行周期的初期,因此可能仍然存在一些问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM