Thank you for your swift response!
I am aware, that the ~ operator only reduces the relevance of the row, though in my case, it actually boosts it for some reason. I made a simple example query:
SELECT title, score FROM
(
SELECT title, MATCH(title) AGAINST
('pædagog' IN BOOLEAN MODE) AS score
FROM jobs ORDER BY score DESC
) AS temp WHERE score != 0;
This returns rows, which all have a score of 2.79, including a row with this title: "Pædagog til SFO og indskoling på Vadgård Skole" which I try and demote with this query:
SELECT title, score FROM
(
SELECT title, MATCH(title) AGAINST
('pædagog ~SFO' IN BOOLEAN MODE) AS score
FROM jobs ORDER BY score DESC
) AS temp WHERE score != 0;
However, this results in all rows still having a score of 2.79, except the row with "SFO" in it, which is boosted to 8.27. Here, I would expect a lower score, not a higher.
The version I am getting is 8.0.40.
Below are example rows of the result with the ~ operator.
| # | Title | Score |
|---|-----------------------------------------------------------------------|----------|
| 0 | Pædagog til SFO og indskoling på Vadgård Skole | 8.273522 |
| 1 | Angerlarsimaffik Uulineq søger Pædagog og Socialassistent | 2.791787 |
| 2 | Pædagog til moderne daginstitution i børnehaveafdeling | 2.791787 |
| 3 | Pædagog til vuggestueafdeling med fokus på natur og udeliv. | 2.791787 |
| 4 | Livsværk Pædagog til døgnafdeling - Livsværk | 2.791787 |
Thanks again :-)