lucene-dev mailing list archives

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

     [ 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


Mime
View raw message