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 7055F98BA for ; Sat, 14 Apr 2012 00:27:43 +0000 (UTC) Received: (qmail 74593 invoked by uid 500); 14 Apr 2012 00:27:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 74472 invoked by uid 500); 14 Apr 2012 00:27:40 -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 74234 invoked by uid 99); 14 Apr 2012 00:27:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 00:27:40 +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; Sat, 14 Apr 2012 00:27:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1DCB036A459 for ; Sat, 14 Apr 2012 00:27:17 +0000 (UTC) Date: Sat, 14 Apr 2012 00:27:17 +0000 (UTC) From: "Hoss Man (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1162481301.24648.1334363237123.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <790177416.24646.1334363237038.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3982) regex support in queryparser needs documented, and called out in CHANGES.txt 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/LUCENE-3982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253908#comment-13253908 ] Hoss Man commented on LUCENE-3982: ---------------------------------- Not: set to blocker so we don't release 4.0 with this change in syntax w/o documenting > regex support in queryparser needs documented, and called out in CHANGES.txt > ---------------------------------------------------------------------------- > > Key: LUCENE-3982 > URL: https://issues.apache.org/jira/browse/LUCENE-3982 > Project: Lucene - Java > Issue Type: Sub-task > Components: core/queryparser > Reporter: Hoss Man > Priority: Blocker > Fix For: 4.0 > > > Spun off of LUCENE-2604 where everyone agreed this needed done, but no one has done it yet, and rmuir didn't want to leave the issue open... > {quote} > some issues were pointed out in a recent mailing list thread that definitely seem like they should be addressed before this is officially released... > * queryparsersyntax.xml doesn't mention this feature at all -- as major new syntax is should really get it's own section with an example showing the syntax > * queryparsersyntax.xml's section on "Escaping Special Characters" needs to mention that '/' is a special character > Also: Given that Yury encountered some real world situations in which the new syntax caused problems with existing queries, it seems like we should definitely make a note about this possibility more promonient ... i'm not sure if it makes sense in MIGRATE.txt but at a minimum it seems like the existing CHANGES.txt entry should mention it, maybe something like... > {noformat} > * LUCENE-2604: Added RegexpQuery support to QueryParser. Regular expressions > are now directly supported by the standard queryparser using the syntax... > fieldName:/expression/ OR /expression against default field/ > Users who wish to search for literal "/" characters are advised to > backslash-escape or quote those characters as needed. > (Simon Willnauer, Robert Muir) > {noformat} > {quote} -- 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