Created on 03-15-2017 09:41 AM - edited 08-18-2019 05:16 AM
Hi Team,
I am trying to do aggregation on top of Solr data using banana dashboard but getting error on the panel "stats can only run on single valued column not multivalued".
In fact, data I am trying to aggregate is about facebook posts about certain company (I have three different companies)and number of likes, shares etc. available on post / status level (almost 2000 posts per company).
I want to compute and show a graph for total likes / shares per company like in SQL i
select company_name , sum (num_likes) from solrdata
group by company_name
I followed the documentation of banana dashboard and as per that, I need facets and stats and TERMS panel.
I created "TERMS" panel on the dashboard and provided coompany_name column from the data as facet and in the stats field I provided 'num_of_likes' --> total likes per post. Still same error. Below are snapshots
and of course the error!!!!
Created 03-20-2017 12:10 PM
solved. defined a single valued field and do term on that.. use schema.xml to define fields explicitly.
Created 03-20-2017 12:10 PM
solved. defined a single valued field and do term on that.. use schema.xml to define fields explicitly.