Re: Sort order for *:* query

2016-04-05 Thread Steven White
This is all good stuff. Thank you all for your insight. Steve On Mon, Apr 4, 2016 at 6:15 PM, Yonik Seeley wrote: > On Mon, Apr 4, 2016 at 6:06 PM, Chris Hostetter > wrote: > > : > > : Not sure I understand... _version_ is time based and hence will give > > : roughly the same accuracy as some

Re: Sort order for *:* query

2016-04-04 Thread Yonik Seeley
On Mon, Apr 4, 2016 at 6:06 PM, Chris Hostetter wrote: > : > : Not sure I understand... _version_ is time based and hence will give > : roughly the same accuracy as something like > : TimestampUpdateProcessorFactory that you recommend below. Both > > Hmmm... last time i looked, i thought _version

Re: Sort order for *:* query

2016-04-04 Thread Chris Hostetter
: : Not sure I understand... _version_ is time based and hence will give : roughly the same accuracy as something like : TimestampUpdateProcessorFactory that you recommend below. Both Hmmm... last time i looked, i thought _version_ numbers were allocated & incremented on a per-shard basis and "

Re: Sort order for *:* query

2016-04-04 Thread Yonik Seeley
On Mon, Apr 4, 2016 at 2:24 PM, Chris Hostetter wrote: > > : 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

Re: Sort order for *:* query

2016-04-04 Thread Chris Hostetter
: 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

Re: Sort order for *:* query

2016-04-04 Thread John Bickerstaff
You can sort like this (I believe that _version_ is the internal id/index number for the document, but you might want to verify) In the Admin UI, enter the following in the sort field: _version_ asc You could also put an entry in the default searchHandler in solrconfig.xml to do this to every in

Re: Sort order for *:* query

2016-04-04 Thread Chris Hostetter
1) The hard coded implicit default sort order is "score desc" 2) Whenever a sort results in ties, the final ordering of tied documents is non-deterministic 3) currently the behavior is that tied documents are returned in "index order" but that can change as segments are merged 4) if you wish