On Wed, Jul 15, 2009 at 3:19 PM, Reza Safari <r.saf...@lukkien.com> wrote:
> Hi, > > How is possible to search for max values e.g. > > doc1 has revision number 1 > doc2 has revision number 2 > doc3 has revision number 3 > > doc1, doc2 and doc3 have all same root revision id e.g. 10000 > > I want search result with doc's with only highest revision number? > What is "revision"? Is it a field in your Solr document? There's no way to find max but you can always sort descending by the revision field and take the first. -- Regards, Shalin Shekhar Mangar.