[
https://issues.apache.org/jira/browse/SOLR-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500229#comment-13500229
]
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: 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: [email protected]
For additional commands, e-mail: [email protected]