lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Would docvalues be loaded into jvm?
Date Thu, 15 Jun 2017 06:39:09 GMT

It works directly off  the mmapped files. It is not fully loaded into heap, only some small
control structures are allocated on heap. During sorting the TopDocsCollector uses the memory
mapped structures to uncompress and lookup the sort values.


Uwe Schindler
Achterdiek 19, D-28357 Bremen

> -----Original Message-----
> From: wangqinghuan []
> Sent: Thursday, June 15, 2017 4:36 AM
> To:
> Subject: Would docvalues be loaded into jvm?
> hi
> I know that data is written into disk with the style of column-store if I
> enable doc-values for certain field.
> But I don't understand why sorting with docvalues doesn't increase the load
> of jvm. whatever sorting algorithm , data would be loaded into  jvm to sort.
> This should be a high load for jvm when I sort all index  , but  no change
> for jvm in fact.  How does lucene sort with docvalues ? Can sort algorithm
> work directly based on the file (Mmap) ?
> --
> View this message in context:
> docvalues-be-loaded-into-jvm-tp4340644.html
> Sent from the Lucene - General mailing list archive at

View raw message