[Yum-devel] ranked multiterm searching

seth vidal skvidal at linux.duke.edu
Wed Jun 6 05:05:31 UTC 2007

On Tue, 2007-06-05 at 17:54 -0400, James Antill wrote:
> On Tue, 2007-06-05 at 14:59 -0400, seth vidal wrote:
> > what version of yum are you using? With 3.2.0 search isn't quite instant
> > but it is very, very fast. 2-4 seconds when I'm using 'time'. Its faster
> > when you run it as a user b/c it doesn't touch the repos.
>  Atm. it's the FC7 GA yum, recompiled on FC6. Some of this might be that
> my desktop is currently "relatively old".
>  Doing "time yum list foobarbaz" (as a normal user) pretty consistently
> gives me over 16-17 seconds (with maxed out CPU, mostly in user space).
>  "yum list 'foobarbaz*'" actually gives me ~20-21 seconds, which was a
> surprise (again 90%+ CPU).

okay, we're not talking about list, we're only talking about search.
List is only matching against nevra and involves more lookups than
search does b/c it has a more flexible number of args it can take.


More information about the Yum-devel mailing list