[jira] [Commented] (LUCENE-8033) Should FieldInfos always use a dense encoding?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (LUCENE-8033) Should FieldInfos always use a dense encoding?

JIRA jira@apache.org

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

ASF subversion and git services commented on LUCENE-8033:

Commit c87b58cf78062989d406592e6b816d86179c4171 in lucene-solr's branch refs/heads/branch_7x from [~mayyas]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c87b58c ]

LUCENE-8033: FieldInfos always use dense encoding

FieldInfos always use an array to store FieldInfo byNumber

Signed-off-by: Adrien Grand <[hidden email]>

Closes #320

> Should FieldInfos always use a dense encoding?
> ----------------------------------------------
>                 Key: LUCENE-8033
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8033
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Adrien Grand
>            Priority: Trivial
>              Labels: newdev
>          Time Spent: 2h
>  Remaining Estimate: 0h
> Spin-off from LUCENE-8018. The dense vs. sparse encoding logic of FieldInfos introduces  complexity. Given that the sparse encoding is only used when less than 1/16th of fields are used, which sounds uncommon to me, maybe we should use a dense encoding all the time?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]