On Fri, Feb 12, 2010 at 1:50 AM, Shay Banon <[email protected]> wrote:
> On Thu, Feb 11, 2010 at 5:41 PM, Yonik Seeley <[email protected]>
>> It really shouldn't be heavily used.
>> For a sorted search, get() is called once per segment in the index.
>> There is no synchronization to retrieve per-document values.
>
> Sorting is not the only reason why FieldCache would be used...

Of course... it was just an example.  But any other uses are going to
still be per-segment lookups, hence the synchronization during the
lookup is very unlikely to be a bottleneck (or even noticeable).  In
that case, adding a new jar for it doesn't seem warranted.

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to