Skip to content

Autocomplete Algorithm

syntheticzero edited this page Sep 16, 2013 · 2 revisions
  • ) date of most recent usage
  • ) date of third most recent usage
  • ) total count of usage in the last 3 months
  • ) total count of usage in the last year
  • ) total count of usage for all time

If the date of the third most recent usage is more recent than the date of the most recent usage, it should always take precedence.

Otherwise, order by the total count of usage in the last 3 months.

If those is equal, order by the total count of usage in the last year.

If those are equal, order by the total count of usage for all time.

If those are equal, order alphabetically.

So this could be the rule for the first two or three suggestions.

The next two or three suggestions could be simply: order by most recently used (of the ones not chosen by the previous algorithm).

Clone this wiki locally