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 78F27DC9A for ; Mon, 19 Nov 2012 00:29:00 +0000 (UTC) Received: (qmail 50357 invoked by uid 500); 19 Nov 2012 00:28:59 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 50269 invoked by uid 500); 19 Nov 2012 00:28:59 -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 50188 invoked by uid 99); 19 Nov 2012 00:28:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 00:28:59 +0000 Date: Mon, 19 Nov 2012 00:28:58 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: <1779549951.1132.1353284939030.JavaMail.jiratomcat@arcas> In-Reply-To: <25311850.1094.1353284697922.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (SOLR-4093) localParams syntax for standard query parser 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-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-4093: ------------------------------- Attachment: SOLR-4093.patch Here's a patch that adds a Solr specific parser under o.a.s.parser and implements the localParams functionality. I've also used this opportunity to migrate from ParseException to SyntaxError in the bulk of Solr code - we shouldn't be relying on an implementation detail of one parser for what should be a generic exception. > localParams syntax for standard query parser > -------------------------------------------- > > Key: SOLR-4093 > URL: https://issues.apache.org/jira/browse/SOLR-4093 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > Attachments: SOLR-4093.patch > > > Instead of > {code} > _query_:"{!geodist d=10 p=20.5,30.2}" > {code} > one could directly use > {code} > {!geodist d=10 p=20.5,30.2} > {code} > references: http://wiki.apache.org/solr/LocalParams > First raised as LUCENE-4271, but moved to this Solr issue due to concerns about Solr specific features in Lucene. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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