quantleaf / probly-search

A lightweight full-text search library written in Rust that provides full control over the scoring calculations
MIT License
60 stars 5 forks source link

Zero to one 0-1 bounded overflow #6

Closed marcus-pousette closed 3 years ago

marcus-pousette commented 3 years ago

If index contained "abc abc" and you queried "abc ab" the score would be greater than one, this PR fixes that issue