[
https://issues.apache.org/jira/browse/SOLR-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479317#comment-16479317
]
David Smiley commented on SOLR-9685:
------------------------------------
I'm +1 to the proposed syntax But, a disclaimer, I don't regularly use the
JSON syntax, and I have not reviewed the patch.
I like insisting on the "#" which will make these stand out both at declaration
and use. I like that it appears to be fairly compact. Perhaps internally the
pound may or may not be retained but it doesn't matter I suppose.
> tag a query in JSON syntax
> --------------------------
>
> Key: SOLR-9685
> URL: https://issues.apache.org/jira/browse/SOLR-9685
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Facet Module, JSON Request API
> Reporter: Yonik Seeley
> Priority: Major
> Time Spent: 1.5h
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]