On Sat, Mar 19, 2011 at 05:34:22PM +0100, andr...@an3as.eu wrote: > ~$ axi-cache search tuxracer > 3 results found. > Results 1-3: > 100% extremetuxracer-data - data files for the game Extreme Tux Racer > 96% extremetuxracer-dbg - 3D racing game featuring Tux, the Linux penguin > (debugging symbols) > 94% extremetuxracer - 3D racing game featuring Tux, the Linux penguin [...] > ~$ LANG=en apt-cache search tuxracer | grep -i -v dummy > extremetuxracer-data - data files for the game Extreme Tux Racer > extremetuxracer-dbg - 3D racing game featuring Tux, the Linux penguin > (debugging symbols) > extremetuxracer-gimp-dev - plugins for GIMP for easy development of etracer > courses > extremetuxracer - 3D racing game featuring Tux, the Linux penguin > extremetuxracer-extras - Additional courses for Extreme Tux Racer > > I get two relevant hits more than with axi-cache. My doubt is that one > reason why axi-cache is missing the target package that the spelling in > the description is different - however, my demo introduction on the > Debian booth at LinuxTage Chemnitz for my fellow DDs (who was not > aware about axi-cache :-() somehow failed. > > Any idea how to fix this?
Thanks for the report, that is an interesting problem. I'm sorry it betrayed you in the demo. Software always tries to betray you in a demo, doesn't it? :) a-x-i indexes words (with stemming) and doesn't do substring searches (but does partially typed words). On the upside it allows you to find "C" compilers and "R" plugins, on the downside it won't find "extremetuxracer" if you look for "tuxracer". There are several ways I can think to address this. One is #602179, which wouldn't help here. Another is to improve descriptions: if 'tuxracer' is a common term used to refer to the package, it makes sense that the description mentions it. This could probably be the right thing for extremetuxracer. When all else fails, I've taken a note to discuss at debconf a way for packages to provide some extra keywords that a-x-i could index: for example, libreoffice could want to have "excel" as a keyword without showing it in its description. I have no idea how to deal with this but in the short term, though. I could leave it open to track efforts to improve quality of indexing. I reckon there is no perfect solution but only an infinite series of attempts, so it's going to be unclear when to close it :) Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: Digital signature