Excerpt/hit.getExcerpt() is giving {relevant_links} as value when using QueryBuilderAPI | Community
Skip to main content
kamalakannank62
New Participant
April 2, 2019
Solved

Excerpt/hit.getExcerpt() is giving {relevant_links} as value when using QueryBuilderAPI

  • April 2, 2019
  • 12 replies
  • 11077 views

I am Using Query builder API for fulltext search, When using hits.getExcerpt() i am getting value as {relevant_links} for few pages. But when checking the same under http://localhost:4502/libs/cq/search/content/querydebug.html  i was able to see proper excerpt for the pages. I have set setExcerpt to true while constructing the query before executing is there something am missing?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by chandu_t

Strange issue, double check your content most likely some content issue.

12 replies

smacdonald2008
New Participant
April 2, 2019

Please post - as Lokesh suggests - your full query. The community will help more given more details here.

Lokesh_Shivalingaiah
New Participant
April 2, 2019

Hi Kamal,

Are you getting it for all the pages or only few ? Can you post your query and sample output ?