sakaiproject/nakamura — pull request #641 by ctweney (2012-03-08 00:44:01+00:00)
Title: Kern 2622 Category filter used in combination with search term returns 0 results

Change search endpoint so you can properly refine by tags while doing a query

The problem is that the refine feature (which should search only the tags field) needs to be in a separate search field from the query (q) (which searches many fields).

The fix will involve a server-side API change to /var/search/pool/all syntax, like so (optional params omitted for clarity):

OLD:
http://localhost:8080/var/search/pool/all.infinity.json?q=doc2+AND+directory%2Fbiologicalsciences+AND+directory%2Fveterinarysciencesagriculture

NEW:
http://localhost:8080/var/search/pool/all.infinity.json?q=doc2&tags=directory%2Fbiologicalsciences+AND+directory%2Fveterinarysciencesagriculture