On Fri, Feb 12, 2010 at 1:50 AM, Shay Banon <kim...@gmail.com> wrote:
> On Thu, Feb 11, 2010 at 5:41 PM, Yonik Seeley <yo...@lucidimagination.com>
>> 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to