Hi Guys .,
i am using reclinejs for filling my data's and i am just trying to fill the values which are in JSON now.
and JSON i have like this
var data= {
{'id':1,'Hobbies':['Cricket','Football',Video Games']},
{'id':2,'Hobbies':['Football','Tennis']}
};
and i am trying to use hobbies field to be in facet.the facet should return me output like
Hobbies
Cricket(1)
Football(2)
Tennis(1)
Video Games(1)
but rather output is like
'Cricket','Football',Video Games' (1)
Football,Tennis (1)
i am trying to fill the data with json and not using elastic search as of now.