lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/SOLR-9672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592995#comment-15592995
] 

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:
{noformat}
In it's simplest (single argument) form, this function can only be used on single valued fields.....
For multivalued docValues fields: field(myMultiValuedFloatField,min)
{noformat}

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: https://issues.apache.org/jira/browse/SOLR-9672
>             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
(v6.3.4#6332)

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


Mime
View raw message