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 samarth s <sa...@gmail.com> on 2013/01/08 12:58:58 UTC
Error on using the projection parameter - fl - in Solr 4
Hi all,
I am in a process of migrating my application from Solr 3.6 to Solr 4. A
query that used to work is giving an error with Solr 4.
The query looks like:
q=*:*&fl=E_abc@@xyz
The error displayed on the admin page is:
can not use FieldCache on multivalued field: E_abc
The field printed in the error has dropped the part after the character '@'.
Could not find any useful pointers on the forums, except one that has a
similar issue but while using the 'qt' parameter. Reference to this chain
is:
Subject: "multivalued filed question (FieldCache error)" on solr-user forums
Thanks for any pointers.
--
Regards,
Samarth
Re: Error on using the projection parameter - fl - in Solr 4
Posted by samarth s <sa...@gmail.com>.
Thanks Erik.
Will take your advice as a long term solution. Currently working around by
using the the regex capability added in parsing the 'fl' parameter, using
'fl=E_*'
On Wed, Jan 9, 2013 at 6:07 AM, Erick Erickson <er...@gmail.com>wrote:
> You really have a field name with '@' symbols in it? If it worked in 3.6,
> it was probably not intentional, classic "undocumented behavior".
>
> The first thing I'd try is replacing the @ with __ in my schema...
>
> Best
> Erick
>
> On Tue, Jan 8, 2013 at 6:58 AM, samarth s <samarth.s.seksaria@gmail.com
> >wrote:
>
> > q=*:*&fl=E_abc@@xyz
>
--
Regards,
Samarth
Re: Error on using the projection parameter - fl - in Solr 4
Posted by Erick Erickson <er...@gmail.com>.
You really have a field name with '@' symbols in it? If it worked in 3.6,
it was probably not intentional, classic "undocumented behavior".
The first thing I'd try is replacing the @ with __ in my schema...
Best
Erick
On Tue, Jan 8, 2013 at 6:58 AM, samarth s <sa...@gmail.com>wrote:
> q=*:*&fl=E_abc@@xyz