[GitHub] lucene-solr issue #411: Debugging PriorityQueue.java

2018-06-28 Thread rsaavedraf
Github user rsaavedraf commented on the issue: https://github.com/apache/lucene-solr/pull/411 Thanks as well @mikemccand ! Happily tweeting about this small change being accepted :) https://twitter.com/RaulSaavedra6/status/1012389058146861056

[GitHub] lucene-solr pull request #411: Debugging PriorityQueue.java

2018-06-26 Thread rsaavedraf
GitHub user rsaavedraf opened a pull request: https://github.com/apache/lucene-solr/pull/411 Debugging PriorityQueue.java The change I'm proposing eliminates a problem by properly checking the validity of maxSize itself, before even computing heapSize=maxSize+1