We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f279241 commit 24943fbCopy full SHA for 24943fb
doc/src/sgml/textsearch.sgml
@@ -1287,7 +1287,10 @@ ts_headline(<optional> <replaceable class="parameter">config</replaceable> <type
1287
<para>
1288
<function>ts_headline</function> accepts a document along
1289
with a query, and returns an excerpt from
1290
- the document in which terms from the query are highlighted. The
+ the document in which terms from the query are highlighted.
1291
+ Specifically, the function will use the query to select relevant
1292
+ text fragments, and then highlight all words that appear in the query,
1293
+ even if those word positions do not match the query's restrictions. The
1294
configuration to be used to parse the document can be specified by
1295
<replaceable>config</replaceable>; if <replaceable>config</replaceable>
1296
is omitted, the
0 commit comments