[
https://issues.apache.org/jira/browse/LUCENE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948670#comment-14948670
]
Terry Smith commented on LUCENE-6834:
-------------------------------------
Great idea. It currently puts user-defined queries at a disadvantage as they
cannot opt out of the parens, if all queries are wrapped in parens when boosted
then the toString output is easier to read.
> Remove BoostQuery.toString()'s hack with parenthesis
> ----------------------------------------------------
>
> Key: LUCENE-6834
> URL: https://issues.apache.org/jira/browse/LUCENE-6834
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 6.0
>
>
> This hack was added in order not to break the string representation of our
> queries in 5.x. However I don't think we should have it in trunk.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]