Excerpt property in AEM Lucene Search
We are using "excerpt" property in our query to show the description in search results. We have configured two fields "jcr:description" and "subtitle" as excerpt properties in QueryBuilderImpl configuration. It is working fine, until the description has less than 150 characters. If it is more than 150 characters, then the excerpt property returns only part of the description, but the issue is it breaks and returns the ending part of the description, not the staring part.
For example, if my jcr:description is as below
This is a sample text to show how the excerpt property behaves when the description has more than 150 characters, so i have added 158 characters in this text.
The excerpt property returns,
characters, so i have added 158 characters in this text.
Is there any configuration, where we can change the character length for the excerpt property? Can we make any change to at least show the starting part of the description rather than the ending part?
Thanks & Regards,
P. Vazahat Fatima