lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Updated] (SOLR-4093) localParams syntax for standard query parser
Date Mon, 19 Nov 2012 00:28:58 GMT


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

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:
>             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:
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message