Lucene 排名——如何使用新的 4.0 评分模型 [英] Lucene ranking - how to use new 4.0 scoring models

查看:20
本文介绍了Lucene 排名——如何使用新的 4.0 评分模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拼命地尝试在 Lucene 中实现一个新功能,我求助于你.基本上,在这个 JIRA 问题中,Lucene 中添加了一些额外的评分模型:https://issues.apache.org/jira/browse/LUCENE-2959

desperately trying to implement a new feature in the Lucene, I'm turning to you. Basically some additional scoring models have been added to the Lucene in this JIRA isse: https://issues.apache.org/jira/browse/LUCENE-2959

请原谅我的无知,但我真的不明白如何获得该链接中描述的 lucene 的版本",以便我可以将它用于我自己的需要.该链接中的作者提到他们已经实现了新的排名模型,例如 BM25,但我不知道从哪里获得源代码,也不知道如何实现或运行具有这些新功能的 Lucene.如果您有这方面的专业知识,我们将非常感谢您的帮助.

Pardon my ignorance, but I really don't understand how to get that "version" of the lucene as described in that link, so that I can use it for my own needs. The authors in that link mention that they've implemented new ranking models such as BM25, but I don't know where to get the source code, nor how to implement or run the Lucene with these new functionalities. If you have knowhow on this, your help will be highly appreciated.

提前致谢,

尼克

推荐答案

如果您想使用最新和最强大的功能,您需要查看每晚构建的主干使用情况.

there is no official / unofficial release date for lucene 4.0 if you want to use the latest and greatest features you need to checkout trunk of use a nightly build.

http://lucene.apache.org/core/developer.html

svn 结帐 http://svn.apache.org/repos/asf/lucene/dev/trunk lucene_trunk

svn checkout http://svn.apache.org/repos/asf/lucene/dev/trunk lucene_trunk

这应该会为您提供 4.0,当然还有您想要的功能:

This should get you 4.0 and of course, the features you want:

  • http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/similarities/ -- BM25Similarity, etc.

这篇关于Lucene 排名——如何使用新的 4.0 评分模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆