Grokbase Groups Lucene dev April 2011
FAQ
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

Search Discussions

  • Chris Male (JIRA) at Apr 27, 2011 at 2:36 pm
    [ 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
  • Simon Willnauer (JIRA) at Apr 27, 2011 at 2:48 pm
    [ 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
  • Simon Willnauer (JIRA) at Apr 27, 2011 at 2:50 pm
    [ 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
  • Simon Willnauer (JIRA) at Apr 27, 2011 at 2:52 pm
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedApr 27, '11 at 2:34p
activeApr 27, '11 at 2:52p
posts5
users1
websitelucene.apache.org

1 user in discussion

Simon Willnauer (JIRA): 5 posts

People

Translate

site design / logo © 2021 Grokbase