[Yum-devel] ranked multiterm searching
seth vidal
skvidal at linux.duke.edu
Tue Jun 5 19:51:09 UTC 2007
On Tue, 2007-06-05 at 09:16 -0400, seth vidal wrote:
> well, I was trying to get it to behave similarly to how google behaves.
>
> ie: I ask for foo bar
>
> and it gives me:
> pages with foo and bar
> pages with just foo
> pages with just bar
>
> we could add an argument to searchGenerator() to only return the results
> that match every term. That'd be pretty easy.
>
I checked in what I had before and here's why.
I think if we want to do more clever things with what is returned and
how many and when then we can do them from the calling function. Keeping
searchGenerator as straightforward as possible.
-sv
More information about the Yum-devel
mailing list