Re: FieldCache error for multivalued fields in json facets.

2015-09-21 Thread Vishnu Mishra
Hi I am using solr 5.3 and I have the same problem while doing json facet on multivalued field. Below is the error stack trace : 2015-09-21 21:26:09,292 ERROR org.apache.solr.core.SolrCore ? org.apache.solr.common.SolrException: can not use FieldCache on multivalued field: FLAG at org.

Re: FieldCache error for multivalued fields in json facets.

2015-07-14 Thread Iana Bondarska
Yonik, Upayavira, thanks for response. Here is the stacktrace from solr logs. I can make my field single valued, but are there any plans to fix this or in general mulitvalued fields should not be used for metric calculation ? what about other metrics, e.g. avg, min,max -- should I be able to calcul

Re: FieldCache error for multivalued fields in json facets.

2015-07-13 Thread Yonik Seeley
On Mon, Jul 13, 2015 at 1:55 AM, Iana Bondarska wrote: > Hi, > I'm using json query api for solr 5.2. When query for metrics for > multivalued fields, I get error: > can not use FieldCache on multivalued field: sales. > > I've found in solr wiki that to avoid using fieldcache I should set > facet.

Re: FieldCache error for multivalued fields in json facets.

2015-07-13 Thread Upayavira
On Mon, Jul 13, 2015, at 06:55 AM, Iana Bondarska wrote: > Hi, > I'm using json query api for solr 5.2. When query for metrics for > multivalued fields, I get error: > can not use FieldCache on multivalued field: sales. > > I've found in solr wiki that to avoid using fieldcache I should set > fa