I\'m looking for a robust way to model search queries in a REST api.
In my api, you can specify the search criteria in the URI of a resource using query parameters.<
Do you search for a library like ODATA (Link)?
This would solve your query parsing problems and you could just forward the query to the database of your choice.