Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Results highlighting: Make number of snippets configurable in TypoScript #4293

Open
thomasrawiel opened this issue Jan 24, 2025 · 1 comment

Comments

@thomasrawiel
Copy link

thomasrawiel commented Jan 24, 2025

Currently, the number of fragments is hard coded in the

Describe the solution you'd like
Please make the max number of fragments configurable in TypoScript, e.g.
plugin.tx_solr.resultsHighlighting.snippets = 3

Additional context
Solr Highlighting hl.snippets

solarium HighlightingTrait

Target versions
12, main

@dkd-kaehm dkd-kaehm changed the title [FEATURE] Results highlighting: Make number of fragments/ snippets configurable in typoscript [FEATURE] Results highlighting: Make number of snippets configurable in typoscript Jan 24, 2025
@dkd-kaehm
Copy link
Collaborator

@thomasrawiel Thanks for that issue.
I changed the description to same conventions/namings like Apache Solr it uses, we must prevent the expression-chain and complexety.

@dkd-kaehm dkd-kaehm changed the title [FEATURE] Results highlighting: Make number of snippets configurable in typoscript [FEATURE] Results highlighting: Make number of snippets configurable in TypoScript Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants