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

[jira] [Commented] (LUCENE-8428) Allow configurable sentinels in PriorityQueue

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

Dawid Weiss commented on LUCENE-8428:
-------------------------------------

+1. Nicer than subclassing.

> Allow configurable sentinels in PriorityQueue
> ---------------------------------------------
>
>                 Key: LUCENE-8428
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8428
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8428.patch
>
>
> This is a follow-up to SOLR-12587: Lucene's PriorityQueue API makes it impossible to have a configurable sentinel object since the parent constructor is called before a sub class has the opportunity to set anything that helps create those sentinels. 



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