- Status changed to Needs review
over 1 year ago 2:58pm 6 July 2023 - last update
over 1 year ago 544 pass
Issue:
If you have content that contains "account" and you search for "accounts", results are returned but no excerpt is generated.
Set-up:
Drupal core 8.7.8 and Search API module only.
I think the issue might be at #385 of highlight.php:
$keys = $query->getOriginalKeys();
This returnes the entered keywords without any processing.
Parsed keys are available from $query, and in the above example seems to provide the stem.
I don;t know if its a case of just changing the above line to call in the ParsedKeys? I tried changing the line to $keys = $query->getParsedKeys();, but that didn't work :(
Needs review
1.0
Plugins
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.