[ 
https://issues.apache.org/jira/browse/LUCENE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated LUCENE-4271:
---------------------------------

    Attachment: LUCENE-4271.patch

Since I've opened this issue, I've seen even more people try to use {!foo} 
syntax directly in a lucene query string.

Here's a patch that implements the syntax.  For lucene, it simply calls 
getFieldQuery and will hence just treat the symbols as text by default.  For 
Solr, it invokes sub-QParser logic.

Seems to work fine, but I still need to add tests.
                
> Solr LocalParams for Lucene Query Parser
> ----------------------------------------
>
>                 Key: LUCENE-4271
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4271
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Attachments: LUCENE-4271.patch
>
>
> The Lucene QueryParser should implement Solr's LocalParams syntax directly so 
> that 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

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

Reply via email to