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:36:03 UTC

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

     [ 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