I am using PHP to perform a SOLR query using facet fields. Some of these fields contain hyphenated text which is giving me a list of facet field results that are split
some-category-name
would give an array with keys 'some','category','name'
which I do not want.
My schema.xml defines the category field as:
<field name="category" type="text_general" indexed="true" stored="true" required="false" multiValued="true" />
How can I fix this so that the field value is not split on the hyphen?