If only you were using Solr.... http://wiki.apache.org/solr/DisMaxQParserPlugin#bf_.28Boost_Functions.29
Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Johnbin Wang <johnbin.w...@gmail.com> > To: java-user@lucene.apache.org > Sent: Sun, May 8, 2011 11:59:11 PM > Subject: How do I sort lucene search results by relevance and time? > > What do I want to do is just like Google search results. The results in the > first page is the most relevant and also recent documents, but not > absolutely sorted by time desc. > > -- > cheers, > Johnbin Wang > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org