Hello everybody, I've already searched about this topic in the forum, but I didn't find any case like this. I ask for apologizes if this topic have been already discussed.
I'm having a problem in faceting a multivalued field. My field is called series, and it has names of TV series like the big bang theory, two and a half men ... In this field I can have a lot of TV series names. For example: <arr name="series"> <str>Two and a Half Men</str> <str>How I Met Your Mother</str> <str>The Big Bang Theory</str> </arr> What I want to do is: search and count how many documents related to each series. I'm doing it using facet search in this field. But it's returning each word separately. Like this: <lst name="facet_counts"> <lst name="facet_queries"/> <lst name="facet_fields"> <lst name="series"> <int name="bang">91</int> <int name="big">91</int> <int name="half">21</int> <int name="how">45</int> <int name="i">45</int> <int name="men">21</int> <int name="met">45</int> <int name="mother">45</int> <int name="theori">91</int> <int name="two">21</int> <int name="your">45</int> </lst> </lst> <lst name="facet_dates"/> <lst name="facet_ranges"/> </lst> And what I want is something like: <lst name="facet_counts"> <lst name="facet_queries"/> <lst name="facet_fields"> <lst name="series"> <int name="Two and a Half Men">21</int> <int name="How I Met Your Mother">45</int> <int name="The Big Bang Theory">91</int> </lst> </lst> <lst name="facet_dates"/> <lst name="facet_ranges"/> </lst> Is there any possible way to do it with facet search? I don't want the terms, I just want each string including the white spaces. Do I have to change my fieldtype to do this? Thanks to everybody. Thiago -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-facet-data-from-a-multivalued-field-tp3897853p3897853.html Sent from the Solr - User mailing list archive at Nabble.com.