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 6BF289D08 for ; Thu, 10 May 2012 21:55:13 +0000 (UTC) Received: (qmail 8233 invoked by uid 500); 10 May 2012 21:55:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 8138 invoked by uid 500); 10 May 2012 21:55:12 -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 8131 invoked by uid 99); 10 May 2012 21:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 21:55:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 10 May 2012 21:55:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C6A56490F01 for ; Thu, 10 May 2012 21:54:48 +0000 (UTC) Date: Thu, 10 May 2012 21:54:48 +0000 (UTC) From: "Lance Norskog (JIRA)" To: dev@lucene.apache.org Message-ID: <454023460.51806.1336686888815.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <123266445.51788.1336686649303.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3448) Date math in range queries does not handle plus sign 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-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lance Norskog updated SOLR-3448: -------------------------------- Description: This query: {code} facet.query=timestamp:[NOW-1YEAR/DAY%20TO%20NOW/DAY+1DAY] {code} gives this error: {code} Cannot parse '[NOW-1YEAR/DAY TO NOW/DAY 1DAY]': Encountered " "1DAY "" at line 1, column 26. Was expecting one of: "]" ... "}" ... {code} Should the fix be to add a backslash in front of +1DAY? That does not work. was: This query: {code} facet.query=[NOW-1YEAR/DAY%20TO%20NOW/DAY+1DAY] {code} gives this error: {code} Cannot parse '[NOW-1YEAR/DAY TO NOW/DAY 1DAY]': Encountered " "1DAY "" at line 1, column 26. Was expecting one of: "]" ... "}" ... {code} Should the fix be to add a backslash in front of +1DAY? That does not work. > Date math in range queries does not handle plus sign > ---------------------------------------------------- > > Key: SOLR-3448 > URL: https://issues.apache.org/jira/browse/SOLR-3448 > Project: Solr > Issue Type: Bug > Components: query parsers > Reporter: Lance Norskog > > This query: > {code} > facet.query=timestamp:[NOW-1YEAR/DAY%20TO%20NOW/DAY+1DAY] > {code} > gives this error: > {code} > Cannot parse '[NOW-1YEAR/DAY TO NOW/DAY 1DAY]': Encountered " "1DAY "" at line 1, column 26. > Was expecting one of: > "]" ... > "}" ... > {code} > Should the fix be to add a backslash in front of +1DAY? That does not work. -- 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