lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-1630) StringIndexOutOfBoundsException in SpellCheckComponent
Date Thu, 15 Dec 2011 21:11:30 GMT

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

Steven Rowe updated SOLR-1630:
------------------------------

    Fix Version/s: 3.1
                   4.0
    
> StringIndexOutOfBoundsException in SpellCheckComponent
> ------------------------------------------------------
>
>                 Key: SOLR-1630
>                 URL: https://issues.apache.org/jira/browse/SOLR-1630
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis, spellchecker
>    Affects Versions: 1.4
>         Environment: Solr 1.4
> Lucene 2.9.1
> Win XP
> java version "1.6.0_14"
>            Reporter: Robin Wojciki
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-1630.patch, SOLR-1630.patch, bug.xml, schema.xml, solrconfig.xml,
spellcheckconfig.xml
>
>
> For some documents/search strings, the SpellCheckComponent throws StringIndexOutOfBoundsException
> See: http://www.lucidimagination.com/search/document/3be6555227e031fc/
> h2. Replication
>  * Save attached schema.xml and solrconfig.xml in apache-solr-1.4.0/example/solr/conf
>  * Start Solr
>  * Index attached bug.xml
>  * Query [http://localhost:8983/solr/select/?q=awehjse-wjkekw]
> It throws a StringIndexOutOfBoundsException
> {noformat} String index out of range: -7
> java.lang.StringIndexOutOfBoundsException: String index out of range: -7
> 	at java.lang.AbstractStringBuilder.replace(Unknown Source)
> 	at java.lang.StringBuilder.replace(Unknown Source)
> 	at org.apache.solr.handler.component.SpellCheckComponent.toNamedList(SpellCheckComponent.java:248)
> 	at org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:143)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
> {noformat} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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