[API-users] GBIF occurence index - get all indexed fields
Felicitas Löffler
felicitas.loeffler at uni-jena.de
Tue Nov 19 11:29:35 UTC 2019
Dear GBIF API users,
I would like to get some GBIF index statistics, e.g., Is it possible to
obtain all indexed fields in the elasticsearch occurrence index? I
already tried to get the mapping
http://api.gbif.org/v1/_mapping?pretty and
http://api.gbif.org/v1/occurence/_mapping?pretty and I also tried it
with the search (http://api.gbif.org/v1/occurrence/search) and a facet
on _field_names. { "query": { "match_all": {} }, "aggs": { "Field
Names": { "terms": { "field": "_field_names" }} } } Unfortunately, both
doesn't work. Is there any other opportunity to get all indexed fields? Thank you and best regards,
Felicitas Löffler
--
-------------------------------------------------------------------
Felicitas Löffler
Wissenschaftliche Mitarbeiterin/ Promotionsstudentin
Heinz-Nixdorf-Professur für verteilte Informationssysteme
Institut für Informatik
Friedrich-Schiller-Universität Jena
Leutragraben 1, Jentower, R17N02
07743 Jena
Germany
Telefon: +49 (0)3641 946413
http://fusion.cs.uni-jena.de
felicitas.loeffler at uni-jena.de
More information about the API-users
mailing list