You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chris Male (JIRA)" <ji...@apache.org> on 2011/04/27 16:34:03 UTC

[jira] [Created] (LUCENE-3048) Improve BooleanQuery rewrite documentation

Improve BooleanQuery rewrite documentation
------------------------------------------

                 Key: LUCENE-3048
                 URL: https://issues.apache.org/jira/browse/LUCENE-3048
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Query/Scoring
            Reporter: Chris Male
            Priority: Minor


While looking over BooleanQuery#rewrite, I found a couple of things confusing.  Why, in the case of a single clause, is the boost set as it is, and whats going on with the lazy initialisation of the cloned BooleanQuery.  I'm just adding a few lines of documentation to both situations to clarify this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Assigned] (LUCENE-3048) Improve BooleanQuery rewrite documentation

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer reassigned LUCENE-3048:
---------------------------------------

    Assignee: Simon Willnauer

> Improve BooleanQuery rewrite documentation
> ------------------------------------------
>
>                 Key: LUCENE-3048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3048
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Query/Scoring
>            Reporter: Chris Male
>            Assignee: Simon Willnauer
>            Priority: Minor
>         Attachments: LUCENE-3048.patch
>
>
> While looking over BooleanQuery#rewrite, I found a couple of things confusing.  Why, in the case of a single clause, is the boost set as it is, and whats going on with the lazy initialisation of the cloned BooleanQuery.  I'm just adding a few lines of documentation to both situations to clarify this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Resolved] (LUCENE-3048) Improve BooleanQuery rewrite documentation

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer resolved LUCENE-3048.
-------------------------------------

    Resolution: Fixed

> Improve BooleanQuery rewrite documentation
> ------------------------------------------
>
>                 Key: LUCENE-3048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3048
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Query/Scoring
>            Reporter: Chris Male
>            Assignee: Simon Willnauer
>            Priority: Minor
>         Attachments: LUCENE-3048.patch
>
>
> While looking over BooleanQuery#rewrite, I found a couple of things confusing.  Why, in the case of a single clause, is the boost set as it is, and whats going on with the lazy initialisation of the cloned BooleanQuery.  I'm just adding a few lines of documentation to both situations to clarify this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (LUCENE-3048) Improve BooleanQuery rewrite documentation

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025819#comment-13025819 ] 

Simon Willnauer commented on LUCENE-3048:
-----------------------------------------

looks useful chris! I will commit it, thanks!

> Improve BooleanQuery rewrite documentation
> ------------------------------------------
>
>                 Key: LUCENE-3048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3048
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Query/Scoring
>            Reporter: Chris Male
>            Assignee: Simon Willnauer
>            Priority: Minor
>         Attachments: LUCENE-3048.patch
>
>
> While looking over BooleanQuery#rewrite, I found a couple of things confusing.  Why, in the case of a single clause, is the boost set as it is, and whats going on with the lazy initialisation of the cloned BooleanQuery.  I'm just adding a few lines of documentation to both situations to clarify this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Updated] (LUCENE-3048) Improve BooleanQuery rewrite documentation

Posted by "Chris Male (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Male updated LUCENE-3048:
-------------------------------

    Attachment: LUCENE-3048.patch

Patch adding comments as mentioned

> Improve BooleanQuery rewrite documentation
> ------------------------------------------
>
>                 Key: LUCENE-3048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3048
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Query/Scoring
>            Reporter: Chris Male
>            Priority: Minor
>         Attachments: LUCENE-3048.patch
>
>
> While looking over BooleanQuery#rewrite, I found a couple of things confusing.  Why, in the case of a single clause, is the boost set as it is, and whats going on with the lazy initialisation of the cloned BooleanQuery.  I'm just adding a few lines of documentation to both situations to clarify this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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