You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/13 21:12:21 UTC

[jira] [Commented] (LUCENE-5433) Double boosting in BooleanQuery.rewrite

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

ASF subversion and git services commented on LUCENE-5433:
---------------------------------------------------------

Commit 1594330 from hossman@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1594330 ]

LUCENE-5433: test of BooleanQuery.rewrite's single clause optimization

> Double boosting in BooleanQuery.rewrite
> ---------------------------------------
>
>                 Key: LUCENE-5433
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5433
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.6.1
>            Reporter: Artem Lukanin
>
> The query ((+(text:hound)))^0.7 magically becomes ((+(text:hound^0.7)))^0.7 because of a strange optimization in BooleanQuery.rewrite() for 1-clause queries.
> See this issue to reproduce the bug: https://github.com/healthonnet/hon-lucene-synonyms/issues/36.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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