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

Adrien Grand commented on LUCENE-5870:
--------------------------------------

To give more context, a consequence of this change is that stored fields could 
store both ints and longs using a zlong without having to record whether it was 
an int or a long.

> Simplify StoredFieldsVisitor
> ----------------------------
>
>                 Key: LUCENE-5870
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5870
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: 5.0, 4.10
>
>         Attachments: LUCENE-5870.patch
>
>
> StoredFieldVisitor has a visitor method for 4 numeric types: int, long, float 
> and double. We should remove this specialization and just have a method that 
> takes a java.lang.Number.



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

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

Reply via email to