quickwit-oss/tantivy

Create a term proximity scorer

Open

#247 geöffnet am 17. Feb. 2018

Auf GitHub ansehen
 (7 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Rust (499 Forks)batch import
enhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (8.354 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 14h) (20 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide