From solr-user-return-126163-apmail-lucene-solr-user-archive=lucene.apache.org@lucene.apache.org Thu Aug 4 10:11:31 2016 Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB83719494 for ; Thu, 4 Aug 2016 10:11:30 +0000 (UTC) Received: (qmail 53660 invoked by uid 500); 4 Aug 2016 10:11:26 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 53586 invoked by uid 500); 4 Aug 2016 10:11:26 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 43413 invoked by uid 99); 4 Aug 2016 10:06:14 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled X-ME-Helo: [192.168.1.12] X-ME-Auth: amVhbi1taWNoZWwucm91YW5kQHdhbmFkb28uZnI= X-ME-Date: Thu, 04 Aug 2016 12:06:06 +0200 X-ME-IP: 80.11.239.144 Message-ID: <57A3138B.5010400@free.fr> Date: Thu, 04 Aug 2016 12:06:03 +0200 From: JM Rouand Organization: Intellixir User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.26) Gecko/20120129 Thunderbird/3.1.18 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: ComplexPhraseQuery and range query Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, We are running solr 6.1.0 We are using ComplexPhraseQuery As default parser. It seems that range query are not working with this parser. Here is the query: nbaff:({0 TO * }) Here is the field definition in the schema: Running query in debug mode gives this: "debug":{ "rawquerystring":"nbaff:({0 TO * })", "querystring":"nbaff:({0 TO * })", "parsedquery":"nbaff:{EXCEPTION(val=0) TO *}", "parsedquery_toString":"nbaff:{0 TO *}", Note that the query nbaff:0 is working properly. Is there something special to do ? Regards JMR