I am using SuperSearch with "Use Smart Excerpts?" set to "Yes", and a Matrix field with "Is field searchable?" set to "Yes". My search results contain pages with matrix field content as expected. However, the contents of the Matrix fields do not appear in the {excerpt} output. Is there a way to do this?


1 Answer 1


Answering my own question:

Each channel has its own setting for the field used by {excerpt} under Admin > Channels > Edit Preferences > Which field should be used for search excerpt?. Matrix field types can be selected and used like any other type.

However, using a Matrix field here does give erratic results compared to a textfield. The excerpt sometimes starts with the search term, truncating content before it. Other times it makes no truncation and just prints the first X characters of all tabs combined instead, even if they don’t include the search term. Sometimes it doesn't bold the search term.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.