You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2020/05/04 20:05:00 UTC

[jira] [Commented] (LUCENE-9357) AssertingSorted(Set|Numeric)DocValues should be unwrappable

    [ https://issues.apache.org/jira/browse/LUCENE-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099311#comment-17099311 ] 

Adrien Grand commented on LUCENE-9357:
--------------------------------------

+1 to this proposal

> AssertingSorted(Set|Numeric)DocValues should be unwrappable
> -----------------------------------------------------------
>
>                 Key: LUCENE-9357
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9357
>             Project: Lucene - Core
>          Issue Type: Sub-task
>          Components: modules/test-framework
>            Reporter: Mikhail Khludnev
>            Priority: Minor
>
> # Obviously singular docValues might mimic multivalued ones via {{DocValues.singleton()}}. However, some algorithms prefers to {{DocValues.unwrap()}} them if possible. 
> # AssertingDocValues blocks this unwrapping slightly changing codepath for singular DVs.
> h3. AS IS
> {{AssertingDV -> Singleton -> SingularDV}}
> h3. TODO
> {{Singleton -> AssertingDV -> SingularDV}}
> I think it's trivial, worthwhile and 0% risk. Are there any concerns?   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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