When enabling the “Re-route searches through SearchStudio” option (and, thus, using the /emselect handler for searches) stopwords and other analysis configuration is not correctly taken into account.

This is due to unexpected highlighting tags being used by the Solr server so \Drupal\search_api_solr\Utility\Utility::getHighlightedKeys() will not detect any highlighted keys, forcing the Highlight processor to use the original ones (including stopwords).

Issue fork searchstax-3553864

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review

  • drunken monkey committed d902d8be on 1.x
    [#3553864] fix: Fixed highlighting of stopwords in excerpt when using...
drunken monkey’s picture

Merged the MR, testing will happen in dev version.

drunken monkey’s picture

Status: Needs review » Fixed

This has now been verified to work.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.