Commit Graph

21 Commits

Author SHA1 Message Date
Aaron Lidman db5ad5223a Put searchable and suggestions back in
Tests were not happy and I’m not going to dive into it right now.
Benchmarked it and it’s pretty quick, no big deal.
2013-11-22 12:58:49 -08:00
Aaron Lidman da7834ab7e Split suggestion presets into their own search results
Allows for refinement of just the suggestions without impacting all the
presets. Also moved searchable.
2013-11-22 12:33:29 -08:00
Aaron Lidman ea7c9f2224 Prevent name descriptions from matching in preset search 2013-11-21 18:36:39 -08:00
Aaron Lidman 181f557a60 Limit search results to top 50 2013-11-20 15:41:20 -08:00
John Firebaugh a61e0c9fd4 Fix preset search 2013-05-24 17:17:41 -07:00
John Firebaugh 9502729f5e Optimize presets.match
Previous implementation was linear in the number of
presets. This should be near constant time.
2013-05-13 21:07:26 -07:00
John Firebaugh 525d37c647 Preset#matchTags -> Preset#matchScore 2013-05-13 17:48:18 -07:00
John Firebaugh fdd49233b1 Avoid recomputing geometry in an inner loop 2013-04-25 11:27:53 -07:00
John Firebaugh 2fc4f041d7 Make preset search terms localizable (fixes #1043) 2013-03-18 16:08:30 -07:00
Ansis Brammanis 0e72dced55 preset search tweaks
prioritize earlier leading name matches
Parking over Bicycle Parking

prioritize shorter matched names
Park over Parking
2013-03-18 16:29:20 -04:00
John Firebaugh 7912b33b4c Exclude presets with searchable: false from search (fixes #932) 2013-03-17 20:59:11 -07:00
Ansis Brammanis a18f6f4116 Fix unintentional case sensitivity in preset search 2013-03-15 10:53:33 -04:00
John Firebaugh d0336a0995 Extract preset names to translations (fixes #1044) 2013-03-14 17:27:34 -07:00
John Firebaugh 41e696a2c5 Flatten presets match properties 2013-03-13 12:45:20 -07:00
John Firebaugh 107f6cfeba type -> geometry 2013-03-12 13:00:32 -07:00
John Firebaugh 60ff6fc021 Use maki icons for points (fixes #881) 2013-03-08 20:22:06 -08:00
Ansis Brammanis a8eb59a502 More lenient fuzzy preset search
Also remove unintentional double penalty for exceeding
length of name.
2013-03-08 00:33:21 -05:00
Ansis Brammanis 61133a6f8a improve search
- prioritize exact matches of words, either in name or terms
- prioritize fuzzy name matches over fuzzy term matches
- reduce max difference to 2
2013-03-07 13:03:19 -05:00
Tom MacWright 662cfeb576 Improve preset searching
Add preset searching of terms
Add more synonyms, improve matching - levenstein for terms too.
2013-03-06 16:54:32 -05:00
Tom MacWright d8e7936d8a Fix CORS error catching on save. Fixes #788. Fixes #451 2013-03-05 14:44:27 -05:00
Ansis Brammanis eae4aeb3ba presets.js to collection.js 2013-03-01 16:18:12 -05:00