enhancementgood first issuehelp wanted
Repository metrics
- Stars
- (8,354 stars)
- PR merge metrics
- (Avg merge 12d 14h) (20 merged PRs in 30d)
Description
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.