how to exclude body from the search articles? | Community
Skip to main content

how to exclude body from the search articles?

  • November 17, 2022
  • 2 replies
  • 0 views

Cesar12

Hello, I am implementing a quick search using the search articles endpoint, I want to show only the snippet and URL, but I see that the search is returning the whole body of the articles too.

I don't need the body, only the snippet, there is some way to exclude the bodies from the search response?

2 replies

Greg29
  • November 17, 2022

Hi Cesar! I looked through a number of different options and I'm not seeing any way to accomplish this. Seems like the only way to do this would be strip out the irrelevant data when calling and displaying the search results. 


Greg29
  • November 17, 2022
Hi Cesar!