-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the bug
When searching for anything even with the EXACT string, it still displays completely wrong results, I will post screenshots of both My mediawiki and Bookstack to help show the algorithm difference
Running version: BookStack v21.05.3 container (Yes, i added the fix term like % $searchterm % makes absolutely no difference with and without)
Both my bookstack and Mediawiki are in absolute sync, both have same exact articles of 1790+
I ran php artisan bookstack:regenerate-search BEFORE and AFTER % $searchterm %
Bookstack will only give correct results if:
- Enclosed within double-quotes "search word(s)"
- Must be matching the same exact order of keywords in the actual page title
Steps To Reproduce
Steps to reproduce the behavior:
- Search for a page
- Click on "Enter" or search
Expected behavior
Get Pages with top matching score as first results
Screenshots
Test ONE
Bookstack (completely irrelevant results)
Mediawiki (Perfectly accurate)
Test TWO (Notice the sequence of keywords used vs actual page name
Bookstack (Completely irrelevant results)
Mediawiki (Perfectly accurate again)
Test THREE (Exact Title Match)
Bookstack (Completely irrelevant results)
Your Configuration (please complete the following information):
BookStack v21.05.3 container
Additional context