lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb <jbc...@gmail.com>
Subject Sort by index order desc
Date Tue, 10 Apr 2007 15:29:26 GMT
Hello,

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 Solr ?
Thanks.

JBC

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message