[ https://issues.apache.org/jira/browse/LUCENE-10384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481630#comment-17481630 ]
ASF subversion and git services commented on LUCENE-10384: ---------------------------------------------------------- Commit b443015f01403c0ca8b602742f7d39a5acfa3652 in lucene's branch refs/heads/branch_9x from Adrien Grand [ https://gitbox.apache.org/repos/asf?p=lucene.git;h=b443015 ] LUCENE-10384: Simplify LongHeap. (#615) The min/max ordering logic moves to NeighborQueue. > Simplify LongHeap > ----------------- > > Key: LUCENE-10384 > URL: https://issues.apache.org/jira/browse/LUCENE-10384 > Project: Lucene - Core > Issue Type: Task > Reporter: Adrien Grand > Priority: Minor > Time Spent: 1h 20m > Remaining Estimate: 0h > > LongHeap makes its order configurable, but the only place where we use max > heaps, we also encode values anyway. So let's make LongHeap always a min-heap > and update the encoding so that the min-heap would effectively act as a max > heap when necessary? -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org