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

Luke request fails for document with a binary field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0, 8.11, 9.1
    • main (10.0), 8.11.3, 9.2
    • Schema and Analysis

    Description

      Getting document details from the Luke request handler fails with a 500 error when the document contains a binary field.

       

      Starting from the techproducts examples, which already contains:

      <fieldType name="binary" class="solr.BinaryField"/>
      

      I added this to the schema:

      <dynamicField name="*_bin" type="binary"/>
      

       

      Indexed a simple document which I can get back in a query.

      {
          "id": "binary-test",
          "test_bin": "PS9cPQ=="
      }
      

       

      This Luke request fails with code 500 though.

      curl -s 'http://localhost:8983/solr/techproducts/admin/luke?show=doc&id=binary-test'
      

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              thomascorthals Thomas Corthals
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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