It’ll return them in order of them being indexed, generally. If documents are being updated (delete/re-add, effectively) then order would change but still by default ordered as they are in the underlying Lucene index.
— Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Feb 19, 2015, at 11:57 AM, Tang, Rebecca <rebecca.t...@ucsf.edu> wrote: > > If user searches for *:*, what order does solr return the results in? I > expected the results to be returned in index order. (I indexed the documents > in the order of the numeric document id from 0 -> ~15,000,000). > > So when I searched with *:*, I expected the first 10 documents returned to > have ids from 0 -> 9. > > But the first 10 id's were: > 146263 146266 146254 146264 146265 146274 146277 146271 146279 146268 > > Documents seem to be consistently returned in this order. > > How does solr order the results when the search is a blanket *:*? > > Rebecca Tang > Applications Developer, UCSF CKM > Industry Documents Digital Libraries > E: rebecca.t...@ucsf.edu >