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 03:29:50 GMT
On Tue, Oct 4, 2016 at 11:23 PM, Jihwan Kim <jihwan11@gmail.com> wrote:
> Hi Yonik,
> I thought about your comment and I might understand what you were saying.
> The for loop in the getFloats method assign a different index of the array
> whenever a new segment is created/updated. You are saying that is why we
> cannot cache the float array as I suggested.  Am I understood correctly?

Yes.

For example, id="mydocument1" may map to lucene_docid 7
and then after a new searcher is opened that same id may map to lucene_docid 22

-Yonik

Mime
View raw message