[ https://issues.apache.org/jira/browse/SOLR-14419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112720#comment-17112720 ]
Cao Manh Dat edited comment on SOLR-14419 at 5/21/20, 2:12 AM: --------------------------------------------------------------- {quote} Query DSL objects need to go into dedicated {{queries}} property see SOLR-12490: {quote} If that is the case, will it confusing? It will be simpler for user to assume that, this part (inside main query or filters) {code} {"param": "paramName"} {code} will be translated to {code} paramValue // can be a string, a list, a json object picked from params {code} {quote} I recently get to solving this puzzle it's really tricky. I can share how to if you wish to see. {quote} Yes, this makes me curious. was (Author: caomanhdat): {quote} Query DSL objects need to go into dedicated {{queries}} property see SOLR-12490: {quote} If that is the case, will it confusing? It will be simpler for user to assume that, this part {code} {"param": "paramName"} {code} will be translated to {code} paramValue // can be a string, a list, a json object. {code} {quote} I recently get to solving this puzzle it's really tricky. I can share how to if you wish to see. {quote} Yes, this makes me curious. > 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, 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: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org