lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-711) BooleanWeight should size the weights Vector correctly
Date Thu, 13 Nov 2008 04:23:44 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Otis Gospodnetic resolved LUCENE-711.
-------------------------------------

    Resolution: Fixed
      Assignee: Otis Gospodnetic

Sending        src/java/org/apache/lucene/search/BooleanQuery.java
Transmitting file data .
Committed revision 713634.


> BooleanWeight should size the weights Vector correctly
> ------------------------------------------------------
>
>                 Key: LUCENE-711
>                 URL: https://issues.apache.org/jira/browse/LUCENE-711
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 1.9, 2.0.0, 2.1
>            Reporter: paul constantinides
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>         Attachments: LUCENE-711.patch, vector_sizing.patch
>
>
> The weights field on BooleanWeight uses a Vector that will always be sized exactly the
same as the outer class' clauses Vector, therefore can be sized correctly in the constructor.
This is a trivial memory saving enhancement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message