Does anyone have an example of the sitecore index configuration while using SOLR, for keyword tokenizer? I am trying to facet on a field which has multiword strings, but the facets currently being returned are splitting the words in the fields and returning facets.
Eg. I have items with a field for state, and i am trying to facet on the state field - which has values like New Hampshire, South Dakota.
But in the results, I get facet values with
Name = New, Aggregate = xx
Name = Hampshire, Aggregate = xx
Name = South, Aggregate = xx
Name = Dakota, Aggregate = xx
Could anyone please help me with the right configuration to change this?
This is my current configuration:
<index id="site_search_web_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider">
<param desc="name">$(id)</param>
<param desc="core">site_search_web</param>
<param desc="propertyStore" ref="contentSearch/databasePropertyStore" param1="$(id)" />
<strategies hint="list:AddStrategy">
<strategy ref="contentSearch/indexUpdateStrategies/onPublishEndAsync" />
</strategies>
<locations hint="list:AddCrawler">
<crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch">
<Database>web</Database>
<Root>/sitecore/content/Home</Root>
</crawler>
</locations>
</index>