Apr 2020

3 commits
Further cleanup of ts_headline code.
9 Apr 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+4 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Jeff Janes reported an uninitialized-pose warning after the initial commits #3, and Tom Lane reproduced it and promised a fix #4. This unattached follow-up initializes pose in mark_hl_words() and additionally fixes mark_hl_fragments() to detect a cover enclosing the selected fragment.

Fix default text search parser's ts_headline code for phrase queries.
9 Apr 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+4 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #2

Combines the regression-test patch and the four behavioral patches from #2, retaining the hlCover() rewrite, endpoint rules, trimming correction, and cover-priority logic. The cosmetic component landed separately; src/test/regress/sql/tsearch.sql and src/test/regress/expected/tsearch.out match the submitted series' final results.

Cosmetic improvements for default text search parser's ts_headline code.
9 Apr 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+4 more
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #2

Extracts and expands the cosmetic component of #2 in src/backend/tsearch/wparser_def.c, leaving the regression tests and behavioral fixes for a separate commit. Additional edits convert flags to bool, rename fields, replace duplicated marking code with mark_fragment(), initialize fragdelim, and extend comments.

Credits across 3 commits

Author
Tom LaneLLM2
Committer
Tom Lane3

N LLM means N of the credits come from LLM analysis, not from commit trailers.