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

Adrien Grand commented on LUCENE-5739:
--------------------------------------

I know there is a long history of discussions around supporting negative values 
in {{writeVLong}} but I think it would be nice so that the whole long range 
could be readable/writable with zig-zag encoding?

> Add zig-zag encoding support to DataInput/DataOutput
> ----------------------------------------------------
>
>                 Key: LUCENE-5739
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5739
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5739.patch
>
>
> It would be convenient to have support for zig-zag-encoded integers in 
> DataInput/DataOutput. There are not many places that use that feature today 
> but I think it's quite common to need to read/write small signed values.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to