[
https://issues.apache.org/jira/browse/SOLR-14419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17092758#comment-17092758
]
Mikhail Khludnev commented on SOLR-14419:
-----------------------------------------
It let to use {{\{"param":"ref"}}} as toplevel {{json.query}}, {{json.filter}}
objects, subordinates queries and values like {{\{"lucene":\{"param":"v1"}}} as
well as {{\{"bool":\{"must":\{"param":"q1"}}}. It may refer to named Query DSL
objects from {{\{"json.queries:":\{"q1":\{"lucene":...}}}}} and plain or json
params.
> Query DLS {"param":"ref"}
> -------------------------
>
> Key: SOLR-14419
> URL: https://issues.apache.org/jira/browse/SOLR-14419
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: JSON Request API
> Reporter: Mikhail Khludnev
> Assignee: Mikhail Khludnev
> Priority: Major
> Fix For: 8.6
>
> Attachments: SOLR-14419.patch, SOLR-14419.patch
>
>
> What we can do with plain params:
> {{q=\{!parent which=$prnts}...&prnts=type:parent}}
> obviously I want to have something like this in Query DSL:
> {code}
> { "query": { "parents":{ "which":{"param":"prnts"}, "query":"..."}}
> "params": {
> "prnts":"type:parent"
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]