Skip to content

Search: Provide additional ranking boost for content that matches more of the search terms #4725

@hieste

Description

@hieste

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:

image

In the Page on the first Position there is no word Magnam in the content or tag...
First Position should be:
image

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions