You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2022/11/05 21:34:00 UTC
[jira] [Resolved] (COLLECTIONS-834) BitCountProducer operation is not clearly defined.
[ https://issues.apache.org/jira/browse/COLLECTIONS-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Herbert resolved COLLECTIONS-834.
--------------------------------------
Fix Version/s: 4.5
Resolution: Implemented
Updated in commit:
a251c18dae1d88491889e5cc36fe07bf58a87a03
Document the expected behaviour of the BitCountProducer's mapping of indices to counts.
Updated IndexProducer and BitCountProducer tests to verify the expected indices and counts; and optionally verify the encounter order is sorted and indices are distinct.
> BitCountProducer operation is not clearly defined.
> --------------------------------------------------
>
> Key: COLLECTIONS-834
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-834
> Project: Commons Collections
> Issue Type: Bug
> Components: Collection
> Affects Versions: 4.5
> Reporter: Claude Warren
> Priority: Major
> Labels: bloom-filter
> Fix For: 4.5
>
>
> When constructing a BitMapProducer from an IndexProducer the expected outcome when the IndexProducer produces duplicates is not well defined.
> This change is to document the expected behaviour and verify the expected behaviour through tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)