lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3862) DocValues getInt() returns long, getFloat() returns double
Date Sun, 11 Mar 2012 22:22:42 GMT


Ryan McKinley commented on LUCENE-3862:

In looking at replacing FieldCache with DocValues, I came to this same question.  

I also wonder how/if there should be any relationship with the [|]

> DocValues getInt() returns long, getFloat() returns double
> ----------------------------------------------------------
>                 Key: LUCENE-3862
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Robert Muir
> I think this is a bit confusing: especially for the case of something like norms
> where its really an 8 bit byte, a long is confusing.
> i think we should have the usual getFloat/getDouble/getInt/getShort/getByte instead?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message