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

ASF subversion and git services commented on LUCENE-9228:
---------------------------------------------------------

Commit 83ccb8d2a2204c78de0cf119d63ef452ef95fcc6 in lucene-solr's branch 
refs/heads/branch_8x from Nhat Nguyen
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=83ccb8d ]

LUCENE-9228: Sort dvUpdates by terms before apply

With this change, we sort dvUpdates in the term order before applying if
they all update a single field to the same value. This optimization can
reduce the flush time by around 20% for the docValues update user cases.


> Sort docValues updates by terms before applying
> -----------------------------------------------
>
>                 Key: LUCENE-9228
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9228
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: master (9.0), 8.5
>            Reporter: Nhat Nguyen
>            Priority: Major
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> If all DVUpdates update a single field to the same value, then we can apply 
> these updates in the term order instead of the request order as both will 
> yield the same result. This optimization allows us to iterate the term 
> dictionary faster and de-duplicate updates.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to