Not sure if this is a Facet API question or a Solr Search question...

Is it possible to index a field fulltext for search capability and index as a string for a facet search as well? I have read that you can use dynamicField and copyField to store an unstemmed and stemmed version of the field. How do you specify the unstemmed version of the field for facet and the stemmed version for the Search Views (7.x-1.4) criteria filter?

Comments

drunken monkey’s picture

Solving this with Solr's <copyField> directive would require some custom code.
It would be easier to use the "Aggregated fields" data alteration to create a copy of the field in question. Then you can just index the copy as a string and use that for facets (or the other way round).

2sense’s picture

Status: Active » Closed (works as designed)

Now that you point it out it seems so logical.... thanks.