最新的 Jackrabbit 快照可以在 Lucene 3 上正常工作吗?
我正在开发一个基于 Java Web 的应用程序,该应用程序同时使用 Jackrabbit 和 Hibernate Search。我面临的问题是 Jackrabbit 严重依赖 Lucene 2,但搜索需要 Lucene 3 才能工作。我设法做了一些“不太好的技巧”来让它工作(即我必须找到一种方法让 Lucene 2 和 3 JAR 都在我的 WEB-INF/lib 目录中,而没有任何类冲突)。
虽然一切都很好,但我想完全摆脱 Lucene 2,但 Jackrabbit 一直在为我做这件事。我遇到了以下链接 有一天,我看到 Jackrabbit 的家伙已经成功升级到与“沙箱”分支中的 Lucene 3 兼容。
我的问题是有人使用过这个沙盒版本吗?我还没有机会使用它,所以我想知道是否有人可以确认它确实适用于 Lucene 3,如果是的话,您在从最后一个稳定的 Jackrabbit 版本升级到此沙箱/快照时是否遇到任何问题?这将极大地帮助我决定现在升级到这个还是等到他们有另一个稳定版本。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近将沙盒分支合并到主干中。有关详细信息,请参阅 JCR-2415。
所以现在最新的Jackrabbit trunk现在是基于Lucene 3.0.3的。所有测试用例(包括集成测试)均通过。然而,由于我们仍处于发布周期的早期阶段,可能仍然存在一些问题。
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.