(1) RESULTS COUNT NOT MATCHING SUM OF ALL FACET COUNTSI put a simple example so everything is returned in one page.
http://api.gbif.org/v1/occurrence/search?facet=ScientificName&limit=10&collectionCode=SANT-Lich&genusKey=2581943The count value is 4, the number of results is 4.
But the number of facets is 1, and its count is 2.
The faceted term ScientificName is a mandatory field, so no null values should happen. I would expect every occurrence having a value for it.
And the number of values is short, so everything is returned in one request (no paging needed).
So, in such a case shouldn't the sum of facet counts be equal to the number of results?
Why the count of the faceted name is not 4?
(2) LOWERCASE FACETS (facets values not matching results values):
Look at the same api request above (plant names)
results:
Scientificname: "Generic_name specific_name (Basionym_Authors) Name_Authors"
facets:
name: "generic_name specific_name (basionym_authors) name_authors"
So I wonder if all this is somehow related to a wrong indexing of our IPT.
Has anyone else detected these problems?
Thanks a lot in advance for your help
David
--
David García San León
Herbario SANT
Universidade de Santiago de Compostela