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

DocValuesField should not overload setInt/setFloat etc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      See my description on LUCENE-3687. In general we should avoid this for primitive types and give them each unique names.

      So I think instead of setInt(byte), setInt(short), setInt(int), setInt(long), setFloat(float) and setFloat(double),
      we should have setByte(byte), setShort(short), setInt(int), setLong(long), setFloat(float) and setDouble(double).

      Attachments

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: