Thank you very much for this discussion. I’ve been attempting to write a RESTful search controller in Spring and have had a difficult time wrapping my head around what to do.

I think I’m going to go with adding query parameters to the get.

So that if I have a collection of shirts, i would get the first shirt with
/shirt/1

but i would get all the shirts in the collection with
/shirt

If i want to search for a grouping of shirts that are blue, the i’ll do something like:
/shirt?q=color:blue&sort=length desc&start=0&rows=100

The underlying spring impl gets tricky because the search will be hitting against a solr instance while the retrieval of a single object goes against a datastore.

oh well, cheers!