Issue 11529

Automatically enable facets used in search query

11529
Reporter: mdoering
Assignee: fmendez
Type: Improvement
Summary: Automatically enable facets used in search query
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-07-02 17:28:31.471
Updated: 2013-12-09 14:01:25.42
Resolved: 2012-07-06 10:51:29.821
        
Description: It is required that when filtering by a facet we also list the facet explicitly in the "facet parameter, for example:

http://jawa.gbif.org:8080/checklistbank-search-ws/search?q=Bedouin&facet=CHECKLIST&ff.CHECKLIST=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c

Make the facet parameter optional for filter queries and automatically add a facet parameter so that this works too:
Should be both ok:
http://jawa.gbif.org:8080/checklistbank-search-ws/search?q=Bedouin&ff.CHECKLIST=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c
]]>