[Yum-devel] ranked multiterm searching
James Antill
jantill at redhat.com
Wed Jun 6 05:14:24 UTC 2007
On Wed, 2007-06-06 at 01:05 -0400, seth vidal wrote:
> 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.
Ack, sorry for the confusion, that was a typo ... the second paragraph
should have started:
Doing "time yum search foobarbaz" (as a normal user) ...
--
James Antill <jantill at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070606/e59ee0e6/attachment.pgp
More information about the Yum-devel
mailing list