Don't calculate search relevance twice, when searching for one word only

Components

Labels

Description

Add condition before foreach for appending $revelance_parts array (CategoriesEventHandler::OnSimpleSearch lines 2666:2668 and kCatDBEventHandler::OnSimpleSearch lines 1323:1326) to skip adding item when $positive_words contains only one item.

Context Information

None

Additional information (do not use)

None

Activity

Alex November 28, 2016 at 9:26 AM

Closing issues of a released version.

Alex March 27, 2016 at 11:10 AM

alex retitled D43: - Don't calculate search relevance twice, when searching for one word only, from "INP-1409 Double weight in search relevance calculation" to "INP-1409 - Don't calculate search relevance twice, when searching for one word only".

Alex March 10, 2016 at 12:45 PM

alex updated the test plan for D43: Double weight in search relevance calculation.
alex added a project to D43: Double weight in search relevance calculation: Intechnic: CCD.

Alex March 21, 2015 at 12:07 PM

alex closed D43: Double weight in search relevance calculation by committing rINP16148: Fixes - Double weight in search relevance calculation.
alex updated the diff for D43: Double weight in search relevance calculation.

http://qa.in-portal.org/D43

[API] Administrator March 21, 2015 at 12:07 PM

User committed a fix to 5.2.x. Commit Message:

Fixes - Double weight in search relevance calculation

Differential Revision: http://qa.in-portal.org/D43

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Fix versions

Affects versions

Created February 20, 2015 at 11:25 AM
Updated December 29, 2024 at 8:56 PM
Resolved March 21, 2015 at 12:07 PM