[ https://issues.apache.org/jira/browse/LUCENE-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-4480: --------------------------------------- Attachment: LUCENE-4480.patch Test case & fix. I simplified TopNSearcher's addIfCompetitive, to no longer separately track bottom. > NoSuchElementException from AnalyzingSuggester > ---------------------------------------------- > > Key: LUCENE-4480 > URL: https://issues.apache.org/jira/browse/LUCENE-4480 > Project: Lucene - Core > Issue Type: Bug > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.1, 5.0 > > Attachments: LUCENE-4480.patch > > > Spinoff from LUCENE-3846 where Simon hit this ... it's a bug in FST's > Util.TopNSearcher where it fails to handle queue exhaustion properly. I > think WFSTSuggester isn't affected because by the time the queue is > exhausted, the search is done (ie it never adds to the queue after it becomes > exhausted). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org