Module Description
This module allows you to boost search results that do exactly match the search keys on specific indexed fields. The exact matches will be put on top of the list.

This module is especially helpful if using partial matching for the search, but still want results to get higher ranked (by adding relevance), that do exactly match the search keys in an indexed field (i. e. title field).

This module is implemented as an Search API postprocess query processor plugin. You can configure on which fields (only string fields) of the index the processor acts. It works by adding the exact match to the top of the search results and by removing them in their regular place.

Remark: This module might not correctly work with the Results summary views plugin, since it might add elements to one page and remove from another page resulting in difference of the counters. While this module does in principal work with paged queries, it might result in adding items on one page of the list and removing items on a later page.

Requirements
This module will only work with String type index fields. This module only works with Search API DB

Installation

* Enable the module as usual
* Then go to admin/config/search/search-api/index/[index-name]/processors
* enable the "Exact match boosting" processor
* configure the processor and save configuration

An example: You have search results with title "Tooth", "Toothpaste" and "Tooth decay".

Now you are searching for "Tooth" with partial matching.

This will result in all three results getting the same relevancy for their title matching.

Now if you want to have the result for "Tooth" appear on top of the list, this is where this module comes in.

Project Usage
162
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to boost search results that exactly match the search keys on specific indexed fields, placing them at the top of the list for higher relevance.
Data Name
search_api_exactmatch_boost

OPENAI CHATBOT

OPENAI CHATBOT

14:26:03
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.