Issue 11999

Return proper enum names as facet values in searches

11999
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Return proper enum names as facet values in searches
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-10-09 16:27:35.404
Updated: 2013-12-09 13:41:04.888
Resolved: 2012-10-10 14:01:40.339
        
Description: The search webservice currently passes the facet values through as they come from solr.
As we store enums as ordinal ints this means we get lots of integers for rank, taxonomic status, name type, etc

Users of our webservice will have no idea how to resolve these numbers, so the webservice should take care of converting them back into proper enum names. This is sth we currently do on the portal side, but that logic should be moved over into the search-ws]]>
    


Author: mdoering@gbif.org
Comment: http://code.google.com/p/gbif-common-resources/source/detail?r=1141
Created: 2012-10-10 14:01:40.363
Updated: 2012-10-10 14:01:40.363