I'm pulling data into solr from mysql. One of the fields is generated using a group_concat function that results in a comma separated field that lists all the bands for an event. At the time I believe this was the best way to store multiple bands for one event. However, I'm finding that I cannot facet this query against all events.
I've set the band field to string and multivalued to true.
<field name="bands" type="string" indexed="true" stored="true" multiValued="true"/>
The result is as expected where the string is faceted as one long string.
"Pearl Jam,Alice,Screaming Trees,Everclear",1, "Primus,Gaga,Bacon Bits",1, "Roosters,Wings,Drumsticks,Tail Feathers",1,
The biggest problem with this approach is when the field type is string it appears to not be searchable. Seems like I need to create a duplicate field that is type text_general for searching and have one for faceting. Yes?
Is there a way to declare a delimiter for the band field to facet this properly, or is my approach wrong?