Based on Prototype Live Search with Quicksilver Style using a modified version of Joshaven's string_score...

Live Search Expriment

Type very slowly and watch what happens. Try typing "alpha xyz xyy" one letter at a time. I think the attractiveness of List 2 is that it does not "bounce" as much as the others. The result set, while still fuzzy, tends to just narrow. There is still some "bounce" (expanding of the result set) with a search like "mary xyz", but this method does not seem bouncier than the others, at least. One thing I don't understand is the very different result for "mark" and "mary" when each is just one letter off the full list. In any case, most attractive to me with List 2 is that you can't type an exact substring like "alpha" and miss potential hits. Both other methods miss that one.


List 1 List 2 List 3
using old string_score.js with efc substring match override showing score > 0.5 using old string_score_mod1.js and showing score > 0.5 using new string_score_mod2.js with fuzzines of 0.2 and showing score > 0.5
  • Mary Alpha xyz xyz xyz
  • Mary Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
  • Mark Alpha xyz xyz xyz
  • Mark Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
  • Mary Alpha xyz xyz xyz
  • Mary Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
  • Mark Alpha xyz xyz xyz
  • Mark Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
  • Mary Alpha xyz xyz xyz
  • Mary Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz
  • Mark Alpha xyz xyz xyz
  • Mark Beta xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz xyz