Issue 11504

Search facets_only parameter ignored

11504
Reporter: mdoering
Assignee: fmendez
Type: Bug
Summary: Search facets_only parameter ignored
Priority: Major
Resolution: WontFix
Status: Closed
Created: 2012-06-26 22:36:49.777
Updated: 2015-03-02 22:03:00.401
Resolved: 2015-03-02 22:03:00.375
        
Description: The documented API says there is a query parameter facet_only to retrieve only facets without any records.
The web service search request provider seems to use facets_only instead.

Finally the actual deployed web service doesn't seem to make use of any of the two:

http://jawa.gbif.org:8080/checklistbank-search-ws/search?q=Abies&facet=RANK&facet=CHECKLIST&facet_only=true
http://jawa.gbif.org:8080/checklistbank-search-ws/search?q=Abies&facet=RANK&facet=CHECKLIST&facets_only=true]]>
    


Author: mdoering@gbif.org
Comment: API: http://dev.gbif.org/wiki/display/POR/Fulltext+Search+Services
Created: 2012-06-26 22:37:25.732
Updated: 2012-06-26 22:37:25.732


Author: fmendez@gbif.org
Comment: facet_only parameter was removed from the Search API, the user can use facets=...&rows=0 instead
Created: 2015-03-02 22:03:00.399
Updated: 2015-03-02 22:03:00.399