lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4480) NoSuchElementException from AnalyzingSuggester
Date Fri, 12 Oct 2012 15:07:02 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message