veekun_pokedex/pokedex
Eevee eb6cae4bf3 Fix whoosh result sorting.
Now results are sorted by is-this-your-language (times levenshtein
distance, if appropriate), then by rough class of result (Pokémon, then
moves, then abilities, etc.) and finally by name.

This fixes a couple issues:

- If both a foreign name and a local name matched a wildcard lookup,
  you'll see the local name.  Before, you'd see whichever happened to be
  first alphabetically.

- Wildcard results are more likely to have useful stuff at the top,
  rather than being dominated by foreign junk and names of obscure
  locations.

This also updates our usage of the whoosh API, which was old and busted
as of 2.0 or so.
2011-09-09 22:31:38 -07:00
..
data/csv Capitalization fix for Sunshine Cherrim 2011-09-05 11:21:19 +03:00
db Fix this markdown extension nonsense. 2011-09-06 21:52:27 -07:00
struct Move util.py to compatibility.py 2011-04-17 22:30:37 -07:00
tests Fix this markdown extension nonsense. 2011-09-06 21:52:27 -07:00
util Pokemon species split: media accessors 2011-05-06 12:26:17 +03:00
__init__.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
compatibility.py Move util.py to compatibility.py 2011-04-17 22:30:37 -07:00
defaults.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
formulae.py Give calculated_stat and calculated_hp the same signature. 2011-03-10 22:12:03 -08:00
lookup.py Fix whoosh result sorting. 2011-09-09 22:31:38 -07:00
main.py Add usage text for --langs 2011-04-11 17:07:39 +03:00
roomaji.py Add Czech romanization 2011-03-29 17:46:41 +03:00