Closed
Description
- Obviously singular docValues might mimic multivalued ones via
DocValues.singleton()
. However, some algorithms prefers toDocValues.unwrap()
them if possible. - AssertingDocValues blocks this unwrapping slightly changing codepath for singular DVs.
AS IS
AssertingDV -> Singleton -> SingularDV
TODO
Singleton -> AssertingDV -> SingularDV
I think it's trivial, worthwhile and 0% risk. Are there any concerns?
Migrated from LUCENE-9357 by Mikhail Khludnev (@mkhludnev), resolved Dec 18 2021
Parent: #10368