TYPO3-Documentation / t3docs-search-indexer

TYPO3 Docs Search
4 stars 7 forks source link

Show changelog entries as whole in search results #88

Open mbrodala opened 2 months ago

mbrodala commented 2 months ago

Currently TYPO3 changelog entries are split into "snippets" based on sections delimited by their headlines. As a consequence searching for content of changelog entries leads to search results listing these snippets/sections as separate result entries.

Example https://docs.typo3.org/search/search?q=overrides&filters%5BDocument+Type%5D%5BCore+changelog%5D=true&filters%5BVersion%5D%5B10%5D=true

image

This result rendering requires the user to basically open each entry to see what is related and actually a single changelog entry. Also the most important detail is missing: the title (main headline) of the changelog entry. This can only be seen again by opening each result entry.

To make this more usable and be in line with known search engines, TYPO3 changelog entries should not be split but indexed as a single document. This should not prevent highlighting the relevant part in the search results.

Also see https://github.com/TYPO3-Documentation/t3docs-search-indexer/issues/29#issuecomment-2024642173

tmotyl commented 2 months ago

this should be fixed long time ago with: https://github.com/TYPO3-Documentation/t3docs-search-indexer/pull/84 @soee can you check why its not working?