lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <>
Subject [jira] [Commented] (SOLR-9672) When using a mutilvalued field(fieldname) in fl an error appears
Date Thu, 20 Oct 2016 21:01:59 GMT


Alexandre Rafalovitch commented on SOLR-9672:

This would have been better asked on the User Mailing list. Because, as far as I can tell,
you have multivalued docvalues and the field documentation says for those cases:
In it's simplest (single argument) form, this function can only be used on single valued fields.....
For multivalued docValues fields: field(myMultiValuedFloatField,min)

But that's for numerics. I am not sure whether docValues support for multiValued strings would
work here. But on mailing list, more people would see your question.

> When using a mutilvalued field(fieldname) in fl an error appears
> ----------------------------------------------------------------
>                 Key: SOLR-9672
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 5.5, 6.2.1
>         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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message