quickwit-oss/tantivy

Create a term proximity scorer

Open

#247 aperta il 17 feb 2018

Vedi su GitHub
 (7 commenti) (2 reazioni) (0 assegnatari)Rust (499 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (8354 star)
Metriche merge PR
 (Merge medio 12g 14h) (20 PR mergiate in 30 g)

Descrizione

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.

Guida contributor