Go to file
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
bin Make poupdate work correctly without a i18n directory 2011-04-11 17:07:36 +03:00
pokedex Fix whoosh result sorting. 2011-09-09 22:31:38 -07:00
scripts Pokemon species split: Script for automatic changes. See #579 2011-05-02 01:11:56 +03:00
.gitignore Added whoosh and sqlite files to .gitignore. 2009-08-23 20:46:21 -07:00
LICENSE Added a README and licensed under MIT. 2009-07-23 00:04:47 -07:00
README Added a README and licensed under MIT. 2009-07-23 00:04:47 -07:00
conftest.py Switch to py.test #604 2011-05-06 12:40:44 +03:00
item-questions Effects for the remaining B/W items. #247 2011-04-10 16:41:59 -07:00
setup.py Merge remote-tracking branch 'origin/encukou-whoosh' 2011-09-06 23:33:08 -07:00

README

This software is copyrighted and licensed under the MIT license.  See the file
entitled LICENSE for full copyright and license text.

This software comes bundled with data, sprites, and sounds extracted from the
Pokémon series of video games.  Some terminology from the Pokémon franchise is
also necessarily used within the software itself.  This is all the intellectual
property of Nintendo, Creatures, inc., and GAME FREAK, inc. and is protected by
various copyrights and trademarks.  The author believes that the use of this
intellectual property for a fan reference is covered by fair use and that the
software is significantly impaired without said property included.  Any use of
this copyrighted property is at your own legal risk.

A complete revision history of this software is available from
http://git.veekun.com/.

Contributors:
Alex Munroe (Eevee): git@veekun.com