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
tParams+in+SolrConfig : Date: Mon, 4 Apr 2016 13:34:27 -0400 : From: Steven White : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Sort order for *:* query : : Hi everyone, : : When I send Solr the query *:* the result I get back is sorted based on : Lucene&#x

Sort order for *:* query

2016-04-04 Thread Steven White
Hi everyone, When I send Solr the query *:* the result I get back is sorted based on Lucene's internal DocID which is oldest to most recent (can someone correct me if I get this wrong?) Given this, the most recently added / updated document is at the bottom of the list. Is there a way to reverse