Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3862

DocValues getInt() returns long, getFloat() returns double

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0-ALPHA
    • None
    • None
    • None
    • New

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: