lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jihwan Kim <jihwa...@gmail.com>
Subject Re: Enhancement on a getFloats method of FileFloatSource.java ?
Date Wed, 05 Oct 2016 03:58:31 GMT
Got it!  Thanks a lot!
On Oct 4, 2016 9:29 PM, "Yonik Seeley" <yseeley@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message