O'Reilly logo
  • Guoxian Yang thinks this is interesting:

It’s important to note that the ordering of terms for range queries is exactly that: the order in which they are found in the Solr index, which is a lexicographically sorted order.

From

Cover of Solr in Action

Note

This is for range query! for others, Solr uses Lucene document ID, which is "roughly" the insertion order, as mentioned in Chapter 2