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

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

Commit 18a2c25c46b763af02bef0e402a4a4115613b950 in lucene-solr's branch 
refs/heads/branch_8x from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=18a2c25 ]

LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. (#1149)

All the metadata can be directly encoded in the `DataOutput`.


> Simplify postings API by removing long[] metadata
> -------------------------------------------------
>
>                 Key: LUCENE-9116
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9116
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The postings API allows to store metadata about a term either in a long[] or 
> in a byte[]. This is unnecessary as all information could be encoded in the 
> byte[], which is what most codecs do in practice.



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

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

Reply via email to