Site SearchΒΆ

Global site search of consumerfinance.gov is implemented using Search.gov.

The search box in the site header is linked to this global site search. Searches using this method return results at the search.consumerfinance.gov subdomain. This subdomain is hosted by Search.gov.

We maintain several independent search indexes on Search.gov for various purposes:

These search indexes are hardcoded depending on the page being viewed.

Configuration of site search on Search.gov requires an approved login to its admin console. The Search.gov Help Manual documents the various configuration options used on our indexes, for example text-based "best bets" and our custom visual design.

The website base page template includes the necessary Search.gov code snippets required for searching and indexing of site content. Search.gov also makes use of the website robots.txt and sitemap.xml files.