[Yum-devel] ranked multiterm searching

seth vidal skvidal at fedoraproject.org
Tue Jun 5 04:27:24 UTC 2007

I implemented a ranked multi-term search routine in searchGenerator()

the patch is attached.

 - makes the search return put the more valuable stuff at the top of
search results
 - makes multiterm searching behave like more people expect (like

 - 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
 - the more terms you add the slower it gets for obvious reasons.

thoughts on better ways to do this are welcome.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ranked-multiterm-search.patch
Type: text/x-patch
Size: 3260 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070605/49e95171/attachment.bin 

More information about the Yum-devel mailing list