Reputation: 1146
The way mapping / analyzer is defined, influence a sorting of a query?
Upvotes: 0
Views: 81
Reputation: 33341
By default, they are sorted by score, which is calculated (again, by default) using a tf-idf algorithm, documented in Lucene's TFIDFSimilarity documentation. You can specify sorting criteria yourself, see ElasticSearch's Sort.
Upvotes: 2