You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2019/10/18 14:42:03 UTC

[jira] [Commented] (SOLR-9685) tag a query in JSON syntax

    [ https://issues.apache.org/jira/browse/SOLR-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954663#comment-16954663 ] 

Mikhail Khludnev commented on SOLR-9685:
----------------------------------------

Why did we introduced that curly syntax if just using property/logcal param should work?
{code:java}
{lucene :{query:'foo:bar', tag:'bar'}}
{code}

> tag a query in JSON syntax
> --------------------------
>
>                 Key: SOLR-9685
>                 URL: https://issues.apache.org/jira/browse/SOLR-9685
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module, JSON Request API
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Major
>             Fix For: 7.4, 8.0
>
>         Attachments: SOLR-9685-doc.patch, SOLR-9685-doc.patch, SOLR-9685.patch, SOLR-9685.patch, SOLR-9685.patch
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> There should be a way to tag a query/filter in JSON syntax.
> Perhaps these two forms could be equivalent:
> {code}
> "{!tag=COLOR}color:blue"
> { tagged : { COLOR : "color:blue" }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org