Customize length of the text on the searchResult

Hello everyone,
is it possible to modify the length of the text displayed as a document preview on the results page?
I would like to show more than just a couple of lines.

Thank u.

To change it, you can modify the following settings in fess_config.properties.

query.highlight.fragment.size=60
query.highlight.number.of.fragments=2

“query.highlight.fragment.size” is the length of fragments, and “query.highlight.number.of.fragments” is the number of fragments.

1 Like