Solr LocalParams for Lucene Query Parser [LUCENE-4271]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
The Lucene QueryParser should implement Solr's LocalParams syntax directly so that instead of
```Java
_query_:"{!geodist d=10 p=20.5,30.2}"
```
one could directly use
```Java
{!geodist d=10 p=20.5,30.2}
```
references: http://wiki.apache.org/solr/LocalParams
---
Migrated from [LUCENE-4271](https://issues.apache.org/jira/browse/LUCENE-4271) by Yonik Seeley (@yonik), updated Nov 19 2012
Attachments: [LUCENE-4271.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4271/LUCENE-4271.patch)
Linked issues:
- [SOLR-4093](https://issues.apache.org/jira/browse/SOLR-4093)
Contributor guide
Research direction
Start with the Lucene QueryParser and the linked Solr LocalParams reference to understand the requested syntax. Done means the parser accepts `{!geodist d=10 p=20.5,30.2}` directly rather than requiring it inside `_query_`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100