You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2011/08/24 09:53:29 UTC

[jira] [Commented] (SOLR-2509) spellcheck: StringIndexOutOfBoundsException: String index out of range: -1

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

Jan Høydahl commented on SOLR-2509:
-----------------------------------

I see the same problem here (3.1), and it looks very much like the same as SOLR-1630

> spellcheck: StringIndexOutOfBoundsException: String index out of range: -1
> --------------------------------------------------------------------------
>
>                 Key: SOLR-2509
>                 URL: https://issues.apache.org/jira/browse/SOLR-2509
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.1
>         Environment: Debian Lenny
> JAVA Version "1.6.0_20"
>            Reporter: Thomas Gambier
>            Priority: Blocker
>
> Hi,
> I'm a french user of SOLR and i've encountered a problem since i've installed SOLR 3.1.
> I've got an error with this query : 
> cle_frbr:"LYSROUGE1149-73190"
> *SEE COMMENTS BELOW*
> I've tested to escape the minus char and the query worked :
> cle_frbr:"LYSROUGE1149(BACKSLASH)-73190"
> But, strange fact, if i change one letter in my query it works :
> cle_frbr:"LASROUGE1149-73190"
> I've tested the same query on SOLR 1.4 and it works !
> Can someone test the query on next line on a 3.1 SOLR version and tell me if he have the same problem ? 
> yourfield:"LYSROUGE1149-73190"
> Where do the problem come from ?
> Thank you by advance for your help.
> Tom

--
This message is automatically generated by JIRA.
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


Re: [jira] [Commented] (SOLR-2509) spellcheck: StringIndexOutOfBoundsException: String index out of range: -1

Posted by Gregor Kaczor <gk...@gmx.de>.
Hi

I can reproduce  a StringIndexOutOfBoundsException with the suggested 
query "LYSROUGE1149-73190" or "ROUGE1149-73190" on Solr 3.3

Kind Regards

Gregor
-- 
How to find files on the Internet? FindFiles.net <http://findfiles.net>!

On 08/24/2011 09:53 AM, Jan Høydahl (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/SOLR-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090066#comment-13090066 ]
>
> Jan Høydahl commented on SOLR-2509:
> -----------------------------------
>
> I see the same problem here (3.1), and it looks very much like the same as SOLR-1630
>
>> spellcheck: StringIndexOutOfBoundsException: String index out of range: -1
>> --------------------------------------------------------------------------
>>
>>                  Key: SOLR-2509
>>                  URL: https://issues.apache.org/jira/browse/SOLR-2509
>>              Project: Solr
>>           Issue Type: Bug
>>     Affects Versions: 3.1
>>          Environment: Debian Lenny
>> JAVA Version "1.6.0_20"
>>             Reporter: Thomas Gambier
>>             Priority: Blocker
>>
>> Hi,
>> I'm a french user of SOLR and i've encountered a problem since i've installed SOLR 3.1.
>> I've got an error with this query :
>> cle_frbr:"LYSROUGE1149-73190"
>> *SEE COMMENTS BELOW*
>> I've tested to escape the minus char and the query worked :
>> cle_frbr:"LYSROUGE1149(BACKSLASH)-73190"
>> But, strange fact, if i change one letter in my query it works :
>> cle_frbr:"LASROUGE1149-73190"
>> I've tested the same query on SOLR 1.4 and it works !
>> Can someone test the query on next line on a 3.1 SOLR version and tell me if he have the same problem ?
>> yourfield:"LYSROUGE1149-73190"
>> Where do the problem come from ?
>> Thank you by advance for your help.
>> Tom
> --
> This message is automatically generated by JIRA.
> 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
>