Problem/Motivation

In a regular non-semantic Search API OpenSearch, field boosts will be applied to increase the score based on matches in certain fields.

This module's hybrid searches however doesn't do this for the phrase search half of the hybrid query, meaning the boosts defined in the Search API fields UI are just ignored.

Proposed resolution

Assemble the query differently so boosts are applied.

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

fraserthompson created an issue. See original summary.

fraserthompson’s picture

Status: Active » Needs review
kim.pepper’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

Thanks @fraserthompson. You are making some great contributions. However, we don't want to add code without test coverage, so setting NW for that.