theCrag/website — Issue #475: rework fuzzy search matches and present exact matches first
Author: scd
Created: 2012-03-05 21:33:58+00:00
State: open

From Cameron Roy

"The site search should show exact matches before fuzzy/partial matches. eg. When I search for "Morialta" I get a lot of matches for "memorial" and also one match for "morialta" - and then all of these are lumped together and ordered alphabetically!

eg. in a search for "clea" there are three routes called "clea" and a bunch of routes with a partial match because they have "clean" in the name.

Also morialta to memorial is a pretty big stretch to fuzzy match. Perhaps it needs to be turned down a bit?