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

ExportWriter only works with TrieFooFields, not FooPointFields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.0
    • Component/s: None

      Description

      ExportWriter explicitly fails hard if you attempt to use it with any of the new Numeric Points based fields.

      The current failures come from explicit if (fieldType instanceof TrieFooField) checks in ExportWriter.getFieldWriters – those could probably be replaced with instanceof FooValueFieldType (the numeric marker interfaces) or getNumericType() but i suspect in the multivalued case other problems will arise due to how ExportWriter dips into the guts of DocValues and assumes SortedSetDocValues

        Attachments

        1. SOLR-10835-fixtest.patch
          3 kB
          Tomas Eduardo Fernandez Lobbe
        2. SOLR-10835.patch
          22 kB
          Tomas Eduardo Fernandez Lobbe
        3. SOLR-10835.patch
          27 kB
          Tomas Eduardo Fernandez Lobbe
        4. SOLR-10835.patch
          27 kB
          Tomas Eduardo Fernandez Lobbe

          Issue Links

            Activity

              People

              • Assignee:
                tflobbe Tomas Eduardo Fernandez Lobbe
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: