[ https://issues.apache.org/jira/browse/LUCENE-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227251#comment-13227251 ]
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 [FunctionValues.java|https://svn.apache.org/repos/asf/lucene/dev/trunk/modules/queries/src/java/org/apache/lucene/queries/function/FunctionValues.java] class. > DocValues getInt() returns long, getFloat() returns double > ---------------------------------------------------------- > > Key: LUCENE-3862 > URL: https://issues.apache.org/jira/browse/LUCENE-3862 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org