[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=16362174#comment-16362174 ]

ASF subversion and git services commented on LUCENE-8033:
---------------------------------------------------------

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

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
(v7.6.3#76005)

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