You mean after the query has returned the top N docs? why? If it's before, then given your use case, there are a number of approaches you can use during indexing and/or search time, so that your custom ranking function would be applied to documents.
Shai On Wed, Jul 22, 2009 at 4:53 PM, henok sahilu <[email protected]>wrote: > i like to write a code that re assign weight to documets so that they can > be reranked > > --- On Wed, 7/22/09, Shai Erera <[email protected]> wrote: > > From: Shai Erera <[email protected]> > Subject: Re: reranking Lucene TopDocs > To: [email protected] > Date: Wednesday, July 22, 2009, 6:44 AM > > Can you be more specific? What do you mean by re-rank? Reverse the sort? > give different weights? > > Shai > > On Wed, Jul 22, 2009 at 4:35 PM, henok sahilu <[email protected] > >wrote: > > > hello there > > i like to re-rank lucene TopDoc result set. > > where shall i start > > thanks > > > > > > > > > > > > > > >
