[
https://issues.apache.org/jira/browse/LUCENE-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll resolved LUCENE-1129.
-------------------------------------
Resolution: Fixed
Committed with LUCENE-1128
> ReadTask ignores traversalSize
> ------------------------------
>
> Key: LUCENE-1129
> URL: https://issues.apache.org/jira/browse/LUCENE-1129
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/benchmark
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
>
> The ReadTask doLogic() method ignores the value of the traversalSize and
> loops over hits.length() instead, thus falsely reporting the desired number
> of iterations through the hit list.
> The fix is relatively trivial since we already calculate
> {code}
> int traversalSize = Math.min(hits.length(), traversalSize());
> {code}
> so we just need to use this value in the loop condition.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]