You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/12/05 16:47:00 UTC

[jira] [Resolved] (LUCENE-8590) Optimize DocValues update datastructures

     [ https://issues.apache.org/jira/browse/LUCENE-8590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer resolved LUCENE-8590.
-------------------------------------
       Resolution: Fixed
         Assignee: Simon Willnauer
    Fix Version/s:     (was: 7.6)
                   7.7

> Optimize DocValues update datastructures
> ----------------------------------------
>
>                 Key: LUCENE-8590
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8590
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Major
>             Fix For: master (8.0), 7.7
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Today we are using a LinkedHashMap to buffer doc-values updates in
>     BufferedUpdates. This on the one hand uses an Object based datastructure
>     and on the other requires re-encoding the data into a more compact representation
>     once the BufferedUpdates are frozen. This change uses a more compact represenation
>     for the updates already in the BufferedUpdates in a parallel-array like datastructure
>     that can be reused in FrozenBufferedDeletes. It also adds an much simpler to use
>     API to consume the updates and allows for internal memory optimization for common
>     case updates.



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

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