On Tue, Oct 4, 2016 at 10:09 PM, Jihwan Kim <jihwa...@gmail.com> wrote:
> I would like to ask the Solr organization an enhancement request.
>
> The FileFloatSource creates a cache value from an external file when a Core
> is reloaded and/or a new searcher is opened.  Nevertheless, the external
> files can be changed less frequently.
>
[...]
> When the version was not changed, we can still use the cached array without
> creating a new one.

The array is indexed by internal lucene docid, which can change across
different views of the index (a commit).

What we can do is cache per segment though.  When this class was
originally written, we didn't have access to individual segments.

-Yonik

Reply via email to