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

ExportWriter only works with TrieFooFields, not FooPointFields

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.7, 7.0
    • 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.patch
          27 kB
          Tomas Eduardo Fernandez Lobbe
        2. SOLR-10835.patch
          27 kB
          Tomas Eduardo Fernandez Lobbe
        3. SOLR-10835.patch
          22 kB
          Tomas Eduardo Fernandez Lobbe
        4. SOLR-10835-fixtest.patch
          3 kB
          Tomas Eduardo Fernandez Lobbe

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment