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

analytics component has hard coded assumptions about Trie numeric fields -- tests fail with randomized point fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Found as part of SOLR-10947... attempting to use numeric PointFields in contrib/analytics tests cause problems in some tests due to classes like StatsCollectorSupplierFactory, RangeEndpointCalculator, and AnalyticsParsers having hard coded assumptions about using Trie based numeric fields (via instanceof and clas equality checks)

      (It's not immediately obvious if replacing these checks with inspection of FieldType.getNumberType() would solve all the problems, or if other assumptions are made down stream in the code)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: