quickwit-oss/tantivy

Create a term proximity scorer

开放

#247 创建于 2018年2月17日

 (7 条评论) (2 个反应) (0 位负责人)Rust (978 个派生)batch import
enhancementgood first issuehelp wanted

仓库指标

星标
 (15,972 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Michael Jackson should get a better score if the two terms appear close to each other in the same document.

It would be nice to have a query that computes something equivalent to

"Michael Jackson"^3 OR (Michael AND jackson)

Conceptually it would just look like the phrasequery, except that the part that checks whether the phrase is present would only affect the score of the document.

贡献者指南