On Tue, 2007-06-05 at 15:51 -0400, seth vidal wrote: > 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.
an example of a caller do something for the searching: http://linux.duke.edu/~skvidal/useful-scripts/simple-search.py really simple, but does what a user would probably want. -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
