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 it be faster?

Yes.

Solr actually has an optional optimization where a query with a sort
without a score component can use a cached filter and re-sort that.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to