lucene-dev mailing list archives

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


Yonik Seeley commented on SOLR-4093:

bq. Curious; how did you come up with the JavaCC parser? Did you copy and modify it from Lucene's?

Yep, and modified the grammar to slurp a localParams block as one big token.
I should be able to further simplify some of the parser by cutting out the cruft Solr never
needed since it drives from the schema.
> 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