I assume that you want to have dynamic queries here, but unfortunately this cannot be done in the view. If you want a great, full-featured search solution, Lucene is the way to go.
Alternatively, you can use the function _list. You need to write a view to do basic filtering, perhaps with a parameter typeor something like that. In your list function, you will get access to query parameters. In this case, you can customize the reaction of your presentation depending on the parameters passed.
source
share