[ 
https://issues.apache.org/jira/browse/LUCENE-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350338#comment-16350338
 ] 

Robert Muir commented on LUCENE-8138:
-------------------------------------

merge instance won't lazy-load stuff permanently into memory: under normal 
conditions the codec may load a bunch of stuff in memory but "merge instance" 
basically instructs it not to store that in any maps.

it prevented huge RAM spikes on merge, especially people that really have more 
fields than their hardware can support and so on. CheckIndex uses the same 
logic for the same reasons.

Example: each field takes 100MB and there are 100 fields. How much memory 
should check index require to complete successfully? 100MBish? or 10GBish? 
That's the difference.

> Check that dv producers return the same values with advanceExact
> ----------------------------------------------------------------
>
>                 Key: LUCENE-8138
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8138
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8138.patch
>
>
> Follow-up of LUCENE-8117. I'd like to make CheckIndex verify that doc values 
> producers return the same values regardless of whether the iterator was moved 
> with nextDoc/advance or advanceExact.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to