You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Thomas Corthals (Jira)" <ji...@apache.org> on 2022/07/13 16:37:00 UTC

[jira] [Created] (SOLR-16293) Luke request fails for document with a binary field

Thomas Corthals created SOLR-16293:
--------------------------------------

             Summary: Luke request fails for document with a binary field
                 Key: SOLR-16293
                 URL: https://issues.apache.org/jira/browse/SOLR-16293
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Schema and Analysis
    Affects Versions: 8.11, 9.0
         Environment: Windows 10 Enterprise Version 20H2 Build 19042.1766
Windows Feature Experience Pack 120.2212.4180.0

 

java 17.0.3.1 2022-04-22 LTS
Java(TM) SE Runtime Environment (build 17.0.3.1+2-LTS-6)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.3.1+2-LTS-6, mixed mode, sharing)
            Reporter: Thomas Corthals


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:
{code:xml}
<fieldType name="binary" class="solr.BinaryField"/>
{code}
I added this to the schema:
{code:xml}
<dynamicField name="*_bin" type="binary"/>
{code}
 

Indexed a simple document which I can get back in a query.
{code:json}
{
    "id": "binary-test",
    "test_bin": "PS9cPQ=="
}
{code}
 

This Luke request fails with code 500 though.
{code:sh}
curl -s 'http://localhost:8983/solr/techproducts/admin/luke?show=doc&id=binary-test'
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org