You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan Josal (JIRA)" <ji...@apache.org> on 2015/10/21 00:29:27 UTC

[jira] [Updated] (SOLR-8175) Wordbreak spellchecker throws IOOBE with Occur.MUST term

     [ https://issues.apache.org/jira/browse/SOLR-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Josal updated SOLR-8175:
-----------------------------
    Attachment: solr8175.patch

Uploaded solr8175.patch, which includes an updated unit test which would throw the exception without the fix.  Let me know what else I can do to help.

> Wordbreak spellchecker throws IOOBE with Occur.MUST term
> --------------------------------------------------------
>
>                 Key: SOLR-8175
>                 URL: https://issues.apache.org/jira/browse/SOLR-8175
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan Josal
>         Attachments: solr8175.patch
>
>
> Using the WordBreakSolrSpellChecker, if a user queries for "+foo barbaz" and "bar baz" is a suggestion for "barbaz", Solr will throw an IndexOutOfBoundsException.  As a result, a server driven by user queries might throw a certain percentage of HTTP 500 responses as users hit this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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