PostgreSQL search doesn't produce the expected results #3708
Replies: 4 comments
-
I have the same problem, I believe this has worked before Setup: docker on ubuntu 18.04
Search engine: basic Page extract # SMB shares
Mount weergeven: `mount | grep /mnt`
Mappen moeten bestaan in het lokale (`/mnt`) bestandssysteem vooraleer ze gemount kunnen worden
Bestand `etc/fstab` editeren + `sudo mount -a -v` uitvoeren.
Verwijderen met `sudo umount <locale map>`
Te testen met `smbclient` Search for 'mount' gives 'no results' |
Beta Was this translation helpful? Give feedback.
-
@stefaanMLB Use the DB - PostgreSQL search engine instead. The basic only searches in title and description, as explained in the docs. |
Beta Was this translation helpful? Give feedback.
-
The install docs need updated. You need: Then: Then switch to your wiki.js DB: Then install the pg_trgm extension: I had previously added the extension globally, but it appears you must enable it specifically for the database. |
Beta Was this translation helpful? Give feedback.
-
The issue seems to be fixed in Version 2.1.113. Probably related to #1269 |
Beta Was this translation helpful? Give feedback.
-
Actual behavior
Searching for some words don't produce the expected results.
Search engine: Database - PostgreSQL
Laguage: German
The index has been rebuilt.
Example:
This is a page in our wiki:
When searching for "Einstellungen", the page doesn't show up in the search results. Same for "Änderungen". Both querys result in 0 search results.
If you search for "sysconf_values_default" the page shows up in the results.
In some cases, it even doesn't work for words that occur several times in the same page.
Expected behavior
If a word from the search query exists in the page, the page should show up in the results. Especially when whe word is proposed by the search engine.
Steps to reproduce the behavior
see sample page above.
Environment
Beta Was this translation helpful? Give feedback.
All reactions