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

Atri Sharma commented on LUCENE-8857:
-------------------------------------

[~simonw] I have added the default tie breaker which tie breaks by shard 
indices first and then docIDs, as suggested. The new PR has the latest 
iteration, please let me know if it seems fine.

> Refactor TopDocs#Merge To Take In Custom Tie Breakers
> -----------------------------------------------------
>
>                 Key: LUCENE-8857
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8857
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Major
>         Attachments: LUCENE-8857.patch, LUCENE-8857.patch, LUCENE-8857.patch, 
> LUCENE-8857.patch, LUCENE-8857.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In LUCENE-8829, the idea of having lambdas passed in to the API to allow 
> finer control over the process was discussed.
> This JIRA tracks adding a parameter to the API which allows passing in 
> lambdas to define custom tie breakers, thus allowing users to do custom 
> algorithms when required.
> CC: [~jpountz]  [~simonw] 



--
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