I have a View of a type of content, and it has a Search Terms contextual filter. It searches perfectly (after indexing the content and running cron), but when I have a node which has the summary edited (not the default trimmed body text), the search does not return any result. How can I include the edited version of the Summary in the search?

  • good question. if it was an exposed filter I would say use a global combined filter for summary field and body. but, since you want a contextual filter -- goodluck. – tenken Dec 18 '14 at 16:13
  • How are you indexing your content? – Beebee Dec 18 '14 at 16:14
  • I have included search in the Manage Display --> Search indexing. But the Safe Summary is not included in the list, just the Content body. I cannot believe the version 7 of Drupal does not include this search by default. – Cesar Dec 18 '14 at 17:12

I have discovered how to get it work: just selecting in the Manage Display --> Search Indexing, Body Summary or trimmed. Isn't it confussing? It seems that it will search only in the summary, while it searches in both Summary and Body. And now it works with edited Summaries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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