Re: Scoring while sorting

2007-02-22 Thread Chris Hostetter
: > What is the point to calculate score if the result set is going to be sorted : > by some field? : No point, I believe, unless your sort includes relevance score. I ...which is non trivial information to deduce, since a SortField can contain a SortComparatorSource which uses a ScoreDocCompar

Re: Scoring while sorting

2007-02-22 Thread Otis Gospodnetic
- Original Message ---From: dmitri <[EMAIL PROTECTED]> > What is the point to calculate score if the result set is going to be sorted > by some field? No point, I believe, unless your sort includes relevance score. I believe there is a Lucene patch that involves a Matcher (a new concept fo

Re: Scoring while sorting

2007-02-21 Thread Yonik Seeley
On 2/21/07, dmitri <[EMAIL PROTECTED]> wrote: What is the point to calculate score if the result set is going to be sorted by some field? Is it ok to replace several terms query (a OR b OR c) with MatchAllQuery and RangeFilters (from a to a, from b to b, from c to c) if sorting is needed? Won't