Open Bug 300548 Opened 20 years ago Updated 12 years ago

sum word matches for basic relevance ordering in ANSI full text search

Categories

(Bugzilla :: Query/Bug List, defect)

2.18.1
x86
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: myk, Unassigned)

References

Details

For databases without full text searching functionality, Bugzilla provides an ANSI SQL compliant full text search equivalent. But that equivalent doesn't order matches by relevance. For searches on more than one word, a very basic relevance ordering could be obtained by calculating the sum of word searches (which either return the number one for found or the number zero for not found) and using that sum as the relevance. Making this depend on bug 232612 since it touches the same area of the code, and we probably shouldn't hack this together until that gets checked in. Of course, perhaps we shouldn't hack this together at all. After all, how much time is it worth spending on the ANSI SQL implementation when we expect any serious database to provide its own implementation? MySQL has one, and PostGreSQL, the only other database on the Bugzilla horizon, apparently does too (available as an addon I think), although I don't think Bugzilla's PostGreSQL support uses it yet.
You need to log in before you can comment on or make changes to this bug.