Loading...
 
Skip to main content

Search fields weight is not applied (Unified Search mySQL search)

Status
Closed
Subject
Search fields weight is not applied (Unified Search mySQL search)
Version
15.x Regression
Category
  • Regression
Feature
Search
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Jonny Bradley
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Not sure on how it works and can’t find solid information about it.

At https://doc.tiki.org/tiki-searchindex.php?filter~content=templates it says:

Field Weights
title:2.5
allowed_groups:0.0001
categories:0.0001
deep_categories:0.0001

So results with the searched word in the title should be of more relevance than other results and therefor be display on the top of the list.

However, at https://doc.tiki.org/tiki-searchindex.php?filter~content=templates the first result with the word Template appears is third.
Result one and two got a lot of time the word template in their content.

I tried to play with the "title" field weight but didn’t get anywhere.
(rebuilding the index didn’t improve)

Seems to work (jonnyB) when ElasticSearch engine is selected

Solution

Hopefully improved at least with r57682

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5822
Created
Tuesday 23 February, 2016 19:11:28 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 01 March, 2016 14:55:31 UTC


Show PHP error messages