[packagekit] multiple word searches
Richard Hughes
hughsient at gmail.com
Thu Mar 26 03:16:05 PDT 2009
I want to add multiple word searches to SearchName and SearchDetails,
something like this:
The "wire" format of the search is "one|two" for an OR search, and
"one&two" for an AND search. Obviously, the user wouldn't use |& in the
search box, but the client can make a policy decision about whether
"one two" is mapped to "one|two" or "one&two". I would imagine the
latter is more likely, but this isn't a policy decision the daemon
should make (comments welcome).
So, can backends support this method of searching easily? One thing we
should probably decided is whether SearchDetails ("one&two") matches:
summary: this is one package
details: this is two words of details
i.e. where the AND match should match against fields, unlike:
summary: this is one and two package
details: this has no relevance
So, is this something we want to add? It seems to be a pretty common RFE
when searching bugzillas. Thanks,
Richard
More information about the PackageKit
mailing list