You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this discussion, we were looking for introducing the ability to iterate deleted docs, in order to compute (cheaply!) some facets across the entire doc ID space, to then fix counts by iterating deleted docs and decrementing counts in buckets where they belong. Using a SparseFixedBitSet in the sparse case would help have a good iterator all the time, rather that requiring O(maxDoc) all the time because this is what FixedBitSet requires to iterate all clear bits.
If having sequential access on deletes wasn't a requirement, a set-based approach would work too.
The text was updated successfully, but these errors were encountered:
Description
@uschindler asked this question in https://lists.apache.org/thread/6o3hn3x8syfm8lj93kk5rrxb0kx701gp.
In this discussion, we were looking for introducing the ability to iterate deleted docs, in order to compute (cheaply!) some facets across the entire doc ID space, to then fix counts by iterating deleted docs and decrementing counts in buckets where they belong. Using a
SparseFixedBitSet
in the sparse case would help have a good iterator all the time, rather that requiring O(maxDoc) all the time because this is whatFixedBitSet
requires to iterate all clear bits.If having sequential access on deletes wasn't a requirement, a set-based approach would work too.
The text was updated successfully, but these errors were encountered: