Skip to content

restricting sites to search (more than one) #253

@Telemarker77

Description

@Telemarker77

Hi,

I have several "sites" in my database collection.

in /workspaces/NLWeb/code/config/config_nlweb.yaml

I want to restrict the search to only some of the "sites".

like so:

sites: "Healthdirect, Pregnancy-Birth-and-Baby"

this line onnly seems to work when it has only one "site" in it:

sites: "Healthdirect" (this does restrict it to only this site.

But when I have more than one site like:

sites: "Healthdirect, Pregnancy-Birth-and-Baby"

my search results are now coming from ALL sites (not only the two i configured)

I have a total of 5 sites and when I add more than 1 site to the sites config in config_nlweb it searches all 5 sites.

Is there somewhere else I need to configure only the sites I want to search?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions