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

Missing boolVal implementation in FloatDocValues

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, 8.0
    • Component/s: None
    • Labels:
      None

      Description

      In case of DoubleDocValues, boolVal(int doc) has been implemented but this is missing in case FloatDocValues.

      Impact: For any DocValues which extends FloatDocValues and doesn't implement boolVal(int doc), parent boolVal in FucntionValues would be called.

      boolVal implementation in FunctionValues

        @Override
        public boolean boolVal(int doc) throws IOException {
          return intVal(doc) != 0;
        }
      

      Let me know if I can work on it

        Attachments

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              munendrasn Munendra S N

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment