Closed Bug 406427 Opened 17 years ago Closed 7 years ago

Penalize skipped results to allow adaptive learning of shifting preferences

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: Mardak, Unassigned)

References

Details

Attachments

(1 file)

Higher ranked results are likely higher because of previous adaption to that preference, but if the user decides to start using a different site, we should try to promote the currently-futher-down result to a higher position.
Attached patch v1Splinter Review
Penalize everything that matched the search to allow the selected index to quickly overtake currently-higher-ranked entries. Ideally we iterate through the results from 0 up to aIndex and only penalize those, but that potentially takes many cycles, so do this approximation instead. This helps avoid needing to set up a whole transaction for multiple updates as well. Sure it'll affect the just-added item as well as everything for drop-down selections, but that's not too bad because the ordering among them doesn't change.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Assignee: edilee → nobody
Status: ASSIGNED → NEW
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: