You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2015/12/01 19:05:11 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 ]

James Dyer updated SOLR-8175:
-----------------------------
    Attachment: SOLR-8175.patch

here is an updated patch with a slightly different unit test.  It might take a little while to get this committed as I'm fighting with the test runner, precommit, etc.

> 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
>            Assignee: James Dyer
>         Attachments: SOLR-8175.patch, 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