You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/15 17:45:00 UTC

[jira] [Commented] (LUCENE-10451) Hunspell: don't perform potentially expensive spellchecking after timeout

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

ASF subversion and git services commented on LUCENE-10451:
----------------------------------------------------------

Commit 92a20c24e93915a79ef53391a70cf2fb35cb1e93 in lucene's branch refs/heads/main from Peter Gromov
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=92a20c2 ]

LUCENE-10451 Hunspell: don't perform potentially expensive spellchecking after timeout (#721)

move all expensive operations closer to the suggestion creation, encapsulate case and output conversion into a new Suggestion class

> Hunspell: don't perform potentially expensive spellchecking after timeout
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-10451
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10451
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Peter Gromov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, to return partial result after timeout, additional processing with case-adjustment and `spell` calls is performed, which can take time and also result in superfluous `checkCanceled` invocations.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org