[ 
https://issues.apache.org/jira/browse/LUCENE-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nik Everett updated LUCENE-5361:
--------------------------------

    Attachment: LUCENE-5361.patch

Fix the issue by pushing boosts from parent queries to child queries when the 
parent queries are flattened.  I clone the child queries before setting their 
boost so I don't break anything that expects them unchanged.  I'm not super 
happy that I have to clone the queries but it seemed like the simplest solution.

> FVH throws away some boosts
> ---------------------------
>
>                 Key: LUCENE-5361
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5361
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nik Everett
>            Priority: Minor
>         Attachments: LUCENE-5361.patch
>
>
> The FVH's FieldQuery throws away some boosts when flattening queries, 
> including DisjunctionMaxQuery and BooleanQuery queries.   Fragments generated 
> against queries containing boosted boolean queries don't end up sorted 
> correctly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to