lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: Enhancement on a getFloats method of FileFloatSource.java ?
Date Wed, 05 Oct 2016 02:35:03 GMT
On Tue, Oct 4, 2016 at 10:09 PM, Jihwan Kim <jihwan11@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

Mime
View raw message