Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Who Me Too'd this topic

Avatar

Avatar
Give Back
Level 1
symsoft_abdul
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Validate 1
Boost 1
View profile

Avatar
Give Back
Level 1
symsoft_abdul
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Validate 1
Boost 1
View profile
symsoft_abdul
Level 1

15-10-2015

How can we get excerpt in search results for a PDF document that is stored as a DAM asset.

We are using query builder API.  It does perform full text search.  That means that Tika is doing its job and somewhere full text of PDf has been extracted and stored (probably in lucene index).

hit.getExcerpt() in the SearchResult returns null for all PDF documents.  I also checked "Excerpt properties" for com.day.cq.search.impl.builder.QueryBuilderImpl , it is currently set to Text and jcr:description.

I will really appreciate if you can help me in setting it right to get excerpt of document assets (specially PDF)

We are using AEM 6.0 SP2

Who Me Too'd this topic