You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Terry Smith (JIRA)" <ji...@apache.org> on 2015/10/08 15:47:26 UTC
[jira] [Commented] (LUCENE-6834) Remove BoostQuery.toString()'s
hack with parenthesis
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org