you can probably try using the sort parameter with the primary sort being on score and the secondary sort being on the recent update date. e.g. sort=score desc, recentUpdateDate desc
So the recent update date would take affect in the group where the document have same score. Regards, Jayendra On Wed, Aug 4, 2010 at 5:46 PM, Brian Pontarelli <br...@pontarelli.com>wrote: > I have a situation where I'm using a Boost on documents to bump them up in > the search results when a search has multiple documents with the same hits > in the search query. However, it looks like if two or more documents have > the same rank after the Boost is applied, the search results are ordered > such that the first search result is the first document that was added to > the index and the last result is the last document that was added or > updated. > > I want to change this so that the most recently updated document is always > at the top of the search results. This would happen after the Boost is > applied. > > Anyone know how to do this? > > Thanks, > -bp > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >