On Tue, Nov 12, 2013 at 7:01 PM, Erick Erickson <erickerick...@gmail.com> wrote:
> Yonik:
>
> Of course I'm not really up on the details of sorting, but aren't there
> various control structures that are allocated for a sort but not for
> scoring? I'm thinking of long[maxDoc] type structures in addition to
> the actual values in the FieldCache.

Nope, the source for the values is the same (FieldCache).
There will be extra temporary space for each sort field value, but
that's only O(topN) and not O(maxDoc)

-Yonik
http://heliosearch.com -- making solr shine

Reply via email to