Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1333D92F5 for ; Wed, 16 Nov 2011 10:39:15 +0000 (UTC) Received: (qmail 2275 invoked by uid 500); 16 Nov 2011 10:39:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 2215 invoked by uid 500); 16 Nov 2011 10:39:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 2208 invoked by uid 99); 16 Nov 2011 10:39:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 10:39:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 10:39:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9EB31888EC for ; Wed, 16 Nov 2011 10:38:52 +0000 (UTC) Date: Wed, 16 Nov 2011 10:38:52 +0000 (UTC) From: "Steffen Elberg Godskesen (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <730638716.34519.1321439932652.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1633680219.3526.1305130907465.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2509) spellcheck: StringIndexOutOfBoundsException: String index out of range: -1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steffen Elberg Godskesen updated SOLR-2509: ------------------------------------------- Attachment: solrconfig.xml schema.xml document.xml > 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 > Attachments: document.xml, schema.xml, solrconfig.xml > > > 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. 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