lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: FieldCacheImpl concurrency
Date Fri, 12 Feb 2010 14:57:21 GMT
On Fri, Feb 12, 2010 at 1:50 AM, Shay Banon <> wrote:
> On Thu, Feb 11, 2010 at 5:41 PM, Yonik Seeley <>
>> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message