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

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

    [ 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