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

查看:71
本文介绍了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.

预先感谢

尼克

推荐答案

如果您想使用Lucene 4.0的最新/最重要功能,则没有正式/非官方发布日期.

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天全站免登陆