Closed djtfmartin closed 6 months ago
@adam-collins commented on Fri May 07 2021
Faceting on decade returns the expected results, one per decade. The result indicates that the correct field to use is now occurrenceYear https://aws-biocache-quoll.ala.org.au/ws/occurrences/search?q=*:*&pageSize=0&facet=true&facets=decade&flimit=-1
decade
occurrenceYear
However faceting on occurrenceYear returns incorrect results. A ten year span for each year. https://aws-biocache-quoll.ala.org.au/ws/occurrences/search?q=*:*&pageSize=0&facet=true&facets=occurrenceYear&flimit=-1
production is also wrong
Treating decade (int field) and occurrenceYear (date field) as-is. Pull request https://github.com/AtlasOfLivingAustralia/biocache-service/pull/864
LGTM
@adam-collins commented on Fri May 07 2021
Faceting on
decade
returns the expected results, one per decade. The result indicates that the correct field to use is nowoccurrenceYear
https://aws-biocache-quoll.ala.org.au/ws/occurrences/search?q=*:*&pageSize=0&facet=true&facets=decade&flimit=-1However faceting on
occurrenceYear
returns incorrect results. A ten year span for each year. https://aws-biocache-quoll.ala.org.au/ws/occurrences/search?q=*:*&pageSize=0&facet=true&facets=occurrenceYear&flimit=-1@adam-collins commented on Fri May 07 2021
production is also wrong