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

ExportWriter only works with TrieFooFields, not FooPointFields

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)

      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.patch
          27 kB
          Tomás Fernández Löbbe
        2. SOLR-10835.patch
          27 kB
          Tomás Fernández Löbbe
        3. SOLR-10835.patch
          22 kB
          Tomás Fernández Löbbe
        4. SOLR-10835-fixtest.patch
          3 kB
          Tomás Fernández Löbbe

          Issue Links

            Activity

              People

              • Assignee:
                tomasflobbe Tomás Fernández Löbbe
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: