Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

One of the fields in the Google Search Appliance sforms is "sitesearch". If you put a domain name in there, like this:

No Format

<input type="hidden" name="sitesearch" value="www.sce.cornell.edu" />

then only results from this domain will be listed. If you further qualify the domain with a subsection of the site line this:

No Format

<input type="hidden" name="sitesearch" value="www.sce.cornell.edu/ss" />

then only results from that section of the site will be returned (recursive search of subfolders). Add a trailing slash like this:

No Format

<input type="hidden" name="sitesearch" value="www.sce.cornell.edu/ss/" />

and results will be limited to pages in that specific directory.