[ 
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 <jpou...@gmail.com>

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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to