FAQ - Site Search vs Collection Parameter

When you look at the sample form code provided by Service Nova Scotia (SNS), one of the hidden parameters is called "sitesearch". If you wish to search only your domain or sub folder(s), this parameter should be used.

In some cases there may be benefit to searching content from folders or domains that are not part of the same tree. In these cases SNS must create what is called a collection for you.

For example

The Collection "GOVNS" combines the URLs crawled in both the novascotia.ca and ednet.ns.ca domains for one integrated search. This way, even though the content comes from two different domains (trees), it may be searched from one search box.

In these cases a developer would have to replace the sitesearch parameter:

<input type="hidden" name="sitesearch" value="https://novascotia.ca/yourdirectory" />

With the collection parameter:

<input type="hidden" name="site" value="your_collection" />