This is interesting, one I had not considered. Mark - are there any code samples that implement this approach? Or maybe something similar in approach?
thanks, jeff On 9/19/05, mark harwood <[EMAIL PROTECTED]> wrote: > > I think the HitCollector approach was fine but needed > a couple of changes: > 1) use a PriorityQueue subclass in place of the > SortedSet to keep only the top n scoring docs > 2) multiply lucene score by a distance measurement > based on the current doc's location (doc location > being read from a cached array of type > Location[reader.maxDoc] ) > > Cheers > Mark > > ___________________________________________________________ > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >