Matthew Wilcoxson created SOLR-9672:
---------------------------------------

             Summary: When using a mutilvalued field(fieldname) in fl an error 
appears
                 Key: SOLR-9672
                 URL: https://issues.apache.org/jira/browse/SOLR-9672
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.2.1, 5.5
         Environment: Using Docker Hubs Solr:6.2 
            Reporter: Matthew Wilcoxson
            Priority: Minor


When using a schema.xml with a field marked as multiValued, e.g.:
<field name="frbr_Image-image"  type="string"  indexed="true"  stored="true"  
multiValued="true"  />

this error occurs:
"an not use FieldCache on multivalued field: frbr_Image-image",
when the field is requested in the fl parameter and wrapped in the field() 
syntax, i.e.:
fl=field(frbr_Image-image)
Full url:   
http://localhost:8983/solr/manifestations_stage/select?fl=field(frbr_Image-image)&q=*:*

When you remove the field() syntax the error doesn't occur and the correct 
values are returned. This occurs even if the fieldname doesn't need to be 
wrapped.

I'm mostly using the default solrconfig.xml file (with a few lines taken out)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to