Found (1) results for "sorting"

Sorting Elasticsearch indices based on a field that is not found nor mapped

Im my case, I wanted to sort results of the general search based on the most recent parliament number, then the most recent session number. This is fine as far as both fields are already mapped for all indices. But when the field is missing, such as in my case the parliament number, then you shall direct the elasticsearch to know how he will be doing with these missing fields in other indices, So here is how to tell it :