[Yum-devel] ranked multiterm searching
James Antill
jantill at redhat.com
Tue Jun 5 13:48:08 UTC 2007
On Tue, 2007-06-05 at 09:16 -0400, seth vidal wrote:
> On Tue, 2007-06-05 at 07:24 -0400, James Bowes wrote:
> > On Tue, 05 Jun 2007 00:27:24 -0400, seth vidal wrote:
> > > I implemented a ranked multi-term search routine in searchGenerator()
> >
> > > Cons:
> > > - b/c you have to sort the search results after you get them it slows
> > > down the results and partially defeats the purpose of the generator, at
> > > all.
> > > - the more terms you add the slower it gets for obvious reasons.
> >
> > Another con for me is that it takes the union of the results, rather
> > than the intersection. While adding more search terms does give me
> > better results at the top of the list, the list is longer and so harder
> > to sort through. Though I am willing to accept that I'm the only person
> > who'd want the intersection ;)
>
> well, I was trying to get it to behave similarly to how google behaves.
Well one of the reasons google can get away with this is that they only
display the first X matches. Doing that in yum search, by default, would
probably up the usability too.
Maybe yum search --all-matches, for the everything?
--
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/20070605/d39f2c7e/attachment.pgp
More information about the Yum-devel
mailing list