: You can sort like this (I believe that _version_ is the internal id/index : number for the document, but you might want to verify)
that is not true, and i strongly advise you not to try to sort on the _version_ field ... for some queries/testing it may deceptively *look* like it's sorting by the order the documents are added, but it will not actaully sort in any useful way -- two documents added in sequence A, B may have version values that are not in ascending sequence (depending on the hash bucket their uniqueKeys fall in for routing purposes) so sorting on that field will not give you any sort of meaningful order If you want to sort by "recency" or "date added you need to add a date based field to capture this. see for example the TimestampUpdateProcessorFactory... https://lucene.apache.org/solr/5_5_0/solr-core/org/apache/solr/update/processor/TimestampUpdateProcessorFactory.html -Hoss http://www.lucidworks.com/