Search: Provide additional ranking boost for content that matches more of the search terms
Describe the Bug
You wrote in your docu:
"Normal word searches across the name and description or body of your content. When mulitple terms are searched only one term has to match your content but content containing both terms will be higher in the results."
Also on your demo site:
In the Page on the first Position there is no word Magnam in the content or tag...
First Position should be:
But this functionality do not work like expected. If you search for 3 Terms the result gets worser... So it is very hard to find the right content, because search string is always connected with "OR" and not "AND"....
Steps to Reproduce
- Search with 2 Terms, like: demo magna
Expected Behaviour
Content containing both terms should be on the highest Position. Also if you use 3 or more terms...
Screenshots or Additional Context
No response
Browser Details
Chrome
Exact BookStack Version
23.10.4
Hi @hieste, The wording in the docs leaves out a lot of additional complexity which can affect rankings. Content containing both terms will rank higher than other page where just one term is used in the same way, but frequency and location can also have a large impact on ranking.
I agree that it would be ideal though if we could specifically provide a score/rank boost for content that has more of the searched terms. I'll update the title to reflect that request, and re-label this since it's really an request for enhancement to the existing system rather than a break in existing functionality.
Hello Dan,
thank you for your thoughts. I think with this addition/change the search within Bookstack is extremely improved in an instance with many pages.
Great work.
Thanks a lot... Stefan