Result filtering on search (also known as Partial Search)

First take at refactoring search to allow selective results, rather than returning the whole thing.
Can you give an example for the value of this parameter? If it's in json format we can have an additional parameter which takes a file name and uses that as the filter. I can see having bunch of different filters in chef-repo and pointing to them when doing search rather than typing it in every time.