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

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

Indeed, I've tried
{code}
      "q": "{!parent which=isParent:true score=max} +_query_:\"{!edismax 
qf=text}copy\"",
      "boost": "if(termfreq(statusFacet,\"Supporting\"),0.3,1.0)",
{code}

with success, but this breaks highlighting per 
https://issues.apache.org/jira/browse/SOLR-2632. It appears that the 
combination of _query_, boost and highlighting is problematic.

> 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