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

Vladimir Strugatsky commented on SOLR-5882:
-------------------------------------------

This is running against Solr 5.3.1. Thanks for looking into this:
{code}
    "params": {
      "debugQuery": "true",
      "fl": "*,score,[child parentFilter=isParent:true limit=1]",
      "q": "{!parent which=isParent:true score=max}text:copy",
      "boost": "if(termfreq(ownerStatus,\"Supporting\"),0.5,1.0",
      "defType": "edismax"
    }
{code}
...
{code}
  "debug": {
    "rawquerystring": "{!parent which=isParent:true score=max}text:copy",
    "querystring": "{!parent which=isParent:true score=max}text:copy",
    "parsedquery": "ToParentBlockJoinQuery(ToParentBlockJoinQuery (text:copi))",
    "parsedquery_toString": "ToParentBlockJoinQuery (text:copi)",
    "explain": {
      "CI_XXX_583": "\n2.1501067 = Score based on child doc range from 486 to 
493\n",
......
{code}


> Introduce score local parameter for {!parent} query parser
> ----------------------------------------------------------
>
>                 Key: SOLR-5882
>                 URL: https://issues.apache.org/jira/browse/SOLR-5882
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.8
>            Reporter: Andrey Kudryavtsev
>            Assignee: Mikhail Khludnev
>             Fix For: 5.3
>
>         Attachments: SOLR-5882.patch, SOLR-5882.patch
>
>
> I propose to have ability to configure scoring mode by *optional* local 
> parameter
> Syntax for parent queries is:
> {code:borderStyle=solid}
> {!parent which=type:parent score=none|avg|max|total|min}...
> Capital case for score values is also accepted
> {code} 
> Child query enables scoring by default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to