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 BB672C1AE for ; Fri, 11 May 2012 15:11:14 +0000 (UTC) Received: (qmail 82606 invoked by uid 500); 11 May 2012 15:11:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82537 invoked by uid 500); 11 May 2012 15:11: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 82274 invoked by uid 99); 11 May 2012 15:11:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 15:11:13 +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; Fri, 11 May 2012 15:11:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8FB17491896 for ; Fri, 11 May 2012 15:10:49 +0000 (UTC) Date: Fri, 11 May 2012 15:10:49 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <375210754.54761.1336749049589.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <221525027.37192.1336442628527.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-4040) Improve QueryParser and supported syntax documentation 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-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273336#comment-13273336 ] Robert Muir commented on LUCENE-4040: ------------------------------------- Thanks Mike, I committed this! > Improve QueryParser and supported syntax documentation > ------------------------------------------------------ > > Key: LUCENE-4040 > URL: https://issues.apache.org/jira/browse/LUCENE-4040 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/queryparser > Reporter: Chris Male > Priority: Minor > Attachments: LUCENE-4040.patch, LUCENE-4040.patch > > > In LUCENE-4024 there were some changes to the fuzzy query syntax. Only the Classic QueryParser really documents its syntax, which makes it hard to know whether the changes effected other QPs. Compounding this issue there are many classes which have no javadocs at all and I found myself quite confused when I consolidated all the QPs into their module. > We should do a concerted effort to improve the documentation so that it is clear what syntax is supported by what QPs and so that at least the user facing classes have javadocs. > As part of this, I wonder whether we should give the syntax supported by the Classic QueryParser a new name (rather than just Lucene's query syntax) since other QPs can and do support other syntax, and then somehow add some typed control over this, so QPs have to declare programmatically that they support the syntax and so we can verify that by randomly plugging in implementations into tests. -- 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