Closed jduss4 closed 7 years ago
Also, should be able to limit number of responses (size)
use facet_num
and facet_sort
for fields, probably do not use arrays for facet_sort
?
Unfortunately it appears that you cannot "paginate" aggregations in ES, so we would have to return all and then paginate them if we wanted to do that in a UI.
Implemented
right now defaulting to _score but we should be able to alter this to alphabetical with parameters in the URL. we will need to add these to the schema