When a user submits a query using the Search Box, it must target a result page, which includes the Ontolica Web Parts required to submit the query and display the results. This is usually the default page of the Ontolica Search Center, but you might customize this for some or all sites in your SharePoint structure.

In the Site URL field, enter the URL of the Search Center site that you wish to target from the Search Box. There are two ways to specify this:
• Link to a site in the current site collection: to link to a site in the same collection that the user is in when using the Search Box, set the URL using syntax such as “~sitecollection/“, where is the name you gave your Search Center when creating it (default is “OntolicaSearch”).

• Link to a site in a specified site collection: to link to a specific site, regardless of which collection the user is in when using the Search Box, use a full URL, including protocol designation, site name, and port number. For example: “http://mysite:8000/“, where is the name you gave your Search Center when creating it.
Either way, the result page targeted will always be called “Pages/DefaultResults.aspx”. So, for example, the full resulting URL might then be: “http://mysite.com:8000/OntolicaSearch/Pages/DefaultResults.aspx”. A page with this name must therefore exist; one is created automatically when you set up the Search Center using the Ontolica Search Center site template.

Note: the target URL set here can sometimes be overruled if the user selects a “target only” Search Box scope.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment