Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3DBB17E0C for ; Fri, 6 Mar 2015 17:37:27 +0000 (UTC) Received: (qmail 63266 invoked by uid 500); 6 Mar 2015 17:37:13 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 63206 invoked by uid 500); 6 Mar 2015 17:37:13 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 63195 invoked by uid 99); 6 Mar 2015 17:37:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 17:37:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.215.53] (HELO mail-la0-f53.google.com) (209.85.215.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 17:36:48 +0000 Received: by labgd6 with SMTP id gd6so12027036lab.3 for ; Fri, 06 Mar 2015 09:34:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=6L8JC75a0BE0PX0zuUE87jdsJwZyrmHcG35w/7I0k9g=; b=SNHcSHorpXJXov6BmZGKVbwZKuXT+GtalsY7ZFbSlohWNlnYZUQesBP+tWjq33nDVQ lgoyIDZT2Lked/+vwM3q2GmfMa1zkTkLjgAqCihvUx+BD5ODWYkg1EhiqBDVjaohSMIu XY0f7PrZA14ME5q207XBGRhkq8eVeZ6YTAOZ7v6PizvSpHZZtdYHDBEj6DK8sUKEmGkg UanoCmfkBIAe01sf2yzUEgRsvOQa66n1e+gotI7/SWdH55icW0V/gyuFQB/dgHgfrFIS STSAvPO5JkpNSVyJdF+mkF16UkAzPh0IONvfYecbcehFUUD00PASe7f0/asWjF9fL7Lc KBBQ== X-Gm-Message-State: ALoCoQmlpw1O4ltLFgDKaHV8usOQhm9T9NzUQoiX8SnvVRX0MGCRr3fT2FvS+/lA5HTZgP7DO6K9 X-Received: by 10.152.88.99 with SMTP id bf3mr13654431lab.37.1425663296876; Fri, 06 Mar 2015 09:34:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.20.143 with HTTP; Fri, 6 Mar 2015 09:34:36 -0800 (PST) In-Reply-To: <54F9CFDE.5070501@fastmail.fm> References: <54F85938.2070009@fastmail.fm> <54F87C06.7010602@fastmail.fm> <54F88E76.6090305@fastmail.fm> <54F8CA58.6020602@fastmail.fm> <54F9CFDE.5070501@fastmail.fm> From: Michael McCandless Date: Fri, 6 Mar 2015 12:34:36 -0500 Message-ID: Subject: Re: is this lucene 4.1.0 bug in PerFieldPostingsFormat To: Lucene Users Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Mar 6, 2015 at 11:03 AM, Paul Taylor wrote: > Right, did you see my last post the query parser does trap the exception if > you enable assertions. I thought this was what you were saying was fixed in > a later version, but assume you actually mean search is fixed not parser Well it's both: Lucene should catch illegal null to all its Query classes, and Robert opened https://issues.apache.org/jira/browse/LUCENE-6345 for that. And then no query parser should ever send an invalid null down to Lucene queries ... that's the bug/test I think you should open? > Is SimpleQueryParser identical to ClassicQueryParser without regular > expressions, or not ? It's completely different. It's goals are to support only the common reasonable-performing queries and do it's best-effort to make a query even on invalid input (not throw a ParseException). See https://issues.apache.org/jira/browse/LUCENE-5336 Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org