Re: Sort by index order desc?

2010-07-23 Thread Ryan McKinley
Looks like you can sort by _docid_ to get things in index order or reverse index order. ?sort=_docid_ asc thank you solr! On Fri, Jul 23, 2010 at 2:23 PM, Ryan McKinley wrote: > Any pointers on how to sort by reverse index order? > http://search.lucidimagination.com/search/document/4a59ded3966

Re: Sort by index order desc

2007-04-10 Thread jb
It would be great, yes :-) 2007/4/10, Yonik Seeley <[EMAIL PROTECTED]>: On 4/10/07, jb <[EMAIL PROTECTED]> wrote: > Thanks for your answer. I will use a timestamp while waiting. > Do you think this feature will be added in a future release ? Most likely... but if someone supplies a patch it mi

Re: Sort by index order desc

2007-04-10 Thread Yonik Seeley
On 4/10/07, jb <[EMAIL PROTECTED]> wrote: Thanks for your answer. I will use a timestamp while waiting. Do you think this feature will be added in a future release ? Most likely... but if someone supplies a patch it might be even quicker :-) -Yonik

Re: Sort by index order desc

2007-04-10 Thread jb
Thanks for your answer. I will use a timestamp while waiting. Do you think this feature will be added in a future release ? 2007/4/10, Yonik Seeley <[EMAIL PROTECTED]>: On 4/10/07, jb <[EMAIL PROTECTED]> wrote: > With Lucene, instead of returning results by date, I return results in the > reve

Re: Sort by index order desc

2007-04-10 Thread Yonik Seeley
On 4/10/07, jb <[EMAIL PROTECTED]> wrote: With Lucene, instead of returning results by date, I return results in the reverse index order (last doc added is returned first) For example : hits = searcher.search(luceneQuery,new Sort(new SortField(null, SortField.DOC, true)) How can I do that with