: A follow up question. Is the sub-sorting on the lucene internal doc IDs : ascending or descending order? That is, do the most recently index doc
you can not make any generic assumptions baout hte order of the internal lucene doc IDS -- the secondary sort on the internal IDs is stable (and FWIW: ascending) for static indexes, but as mentioned before: the *actual* order hte the IDS changes as the index changes -- if there is an index merge, the ids can be totally different and docs can be re-arranged into a diff order... : > However, internal Lucene Ids can change when index changes. (merges, : > updates etc). ... : show up first in this set of docs that have tied score? If not, who can I : have the most recent be first? Do I have to sort on lucene's internal doc add a "timestamp" or "counter" field when you index your documents that means whatevery you want it to mean (order added, order updated, order according to some external sort criteria from some external system) and then do an explicit sort on that. -Hoss http://www.lucidworks.com/