You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "giovanni.bricconi@banzai.it" <gi...@banzai.it> on 2012/10/01 16:51:47 UTC
multivalued filed question (FieldCache error)
Hello,
I would like to put a multivalued field into a qt definition as output
field. to do this I edit the current solrconfig.xml definition and add
the field in the fl specification.
Unexpectedly when I do the query q=*:*&qt=mytype I get the error
<str name="msg">
can not use FieldCache on multivalued field: store_slug
</str>
But if I instead run the query
http://src-eprice-dev:8080/solr/0/select/?q=*:*&qt=mytype&fl=otherfield,mymultivaluedfiled
I don't get the error
Have you got any suggestions?
I'm using solr 4 beta
solr-spec 4.0.0.2012.08.06.22.50.47
lucene-impl 4.0.0-BETA 1370099
Giovanni
Re: multivalued filed question (FieldCache error)
Posted by Erik Hatcher <er...@gmail.com>.
How is your request handler defined? Using store_slug for anything but fl?
Erik
On Oct 1, 2012, at 10:51, "giovanni.bricconi@banzai.it" <gi...@banzai.it> wrote:
> Hello,
>
> I would like to put a multivalued field into a qt definition as output field. to do this I edit the current solrconfig.xml definition and add the field in the fl specification.
>
> Unexpectedly when I do the query q=*:*&qt=mytype I get the error
>
> <str name="msg">
> can not use FieldCache on multivalued field: store_slug
> </str>
>
> But if I instead run the query
>
> http://src-eprice-dev:8080/solr/0/select/?q=*:*&qt=mytype&fl=otherfield,mymultivaluedfiled
>
> I don't get the error
>
> Have you got any suggestions?
>
> I'm using solr 4 beta
>
> solr-spec 4.0.0.2012.08.06.22.50.47
> lucene-impl 4.0.0-BETA 1370099
>
>
> Giovanni