Forum
Search Excerpt Field
Is there a way of telling search what field in the region to grab the excerpt from when doing a search? As at the moment it merges from all fields so I end up with sentences that make no sense
Or is there an attribute to add to content templates that excludes the field from search results?
You should be able to use your other fields in the search result if you don't like the excerpt.
Yeah I did that but the chars attribute wouldn't work on the field, so I ended up with really long excerpt
Should do - show us your code.
Sure this is the part of the template
Screenshot here shows more than 200 chars
You're missing the
type
attributeOh yeah, silly me fixed it thank you