[
https://issues.apache.org/jira/browse/BLUR-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121439#comment-14121439
]
Tim Williams commented on BLUR-373:
-----------------------------------
We can get the desired behavior by explicitly creating a "query" option. This
could also coexist with the current approach. The only slight awkwardness is
having two ways to do nearly the same thing - and, clearly communicating the
circumstances that one approach won't work.
For example,
blur (default)> query test foo ...works
blur (default)> query test -foo ...doesn't work
blur (default)> query test -foo -bar ...doesn't work
blur (default)> query test -query foo ...works
blur (default)> query test -query -foo ...works
blur (default)> query test -query -foo -bar ...works
So, adding an explicity "-query" option would solve the problem but coexisting
with the previous approach might be confusing. But then, the previous style is
pretty darn convenient too. Thoughts anyone?
> Allow queries in the shell to contain a minus "-" character
> -----------------------------------------------------------
>
> Key: BLUR-373
> URL: https://issues.apache.org/jira/browse/BLUR-373
> Project: Apache Blur
> Issue Type: Bug
> Components: Blur Shell
> Affects Versions: 0.2.4
> Reporter: Tim Williams
>
> The shell currently has parsing errors is the query contains a minus "-"
> character in the query. The minus character is critical to both negation
> criteria and geo-spatial queries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)