Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2539

VectorValueSource returnes floatVal of DocValues is wrong

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: search
    • Labels:
      None
    • Environment:

      JDK1.6/Tomcat6

      Description

      @Override
      public void floatVal(int doc, float[] vals)

      { vals[0] = x.byteVal(doc); vals[1] = y.byteVal(doc); }

      should be:
      @Override
      public void floatVal(int doc, float[] vals)

      { vals[0] = x.floatVal(doc); vals[1] = y.floatVal(doc); }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tom_lt tom liu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: