Solr
  1. Solr
  2. SOLR-2539

VectorValueSource returnes floatVal of DocValues is wrong

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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); }

        Activity

        Hide
        Yonik Seeley added a comment -

        committed, thanks Tom!

        Show
        Yonik Seeley added a comment - committed, thanks Tom!
        Hide
        tom liu added a comment -

        fixed

        Show
        tom liu added a comment - fixed

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development