On Tue, Jul 7, 2009 at 5:39 AM, mark harwood<markharw...@yahoo.co.uk> wrote:
> Given the requirement is to ignore scoring I would recommend (as someone else > suggested) looking at the IndexSearch.search method that takes a HitCollector > and simply accumulate all results, regardless of score. Make that "Collector" (new as of 2.9). HitCollector is the old (deprecated as of 2.9) way, which always pre-computed the score of each hit and passed the score to the collect method. Whereas Collector makes scoring optional (your collect method must actually request the score). EG sorting by field makes use of this (in 2.9) by making scoring optional. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org