Issue 11530

Remove ff. prefix from search facet filter parameters

11530
Reporter: mdoering
Assignee: fmendez
Type: Improvement
Summary: Remove ff. prefix from search facet filter parameters
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-07-02 17:31:02.802
Updated: 2013-12-06 12:06:38.229
Resolved: 2012-10-08 14:34:35.724
        
Description: Removing the ff. prefix for facet filters makes the filter more readable and natural. The few values allowed are listed in an enum and the query parameters can simply be checked if those exist.

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

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


Author: mdoering@gbif.org
Created: 2012-07-06 10:59:59.454
Updated: 2012-07-06 10:59:59.454
        
it would be nice if the facet filter names would be the same as the query parameters we use in other services.
For the CHECKLIST facet for example this is usually the query parameter datasetKey.
Maybe add a new property to the facet enum that tells us the query parameter to use?