Label. By default, we use the label 'Search' for your facets. Enter a label in the label field if you'd like something other than this default. Keep your label consistent with the options you're listing and under 15 characters.
See the sample results page below that shows the facets with the default label, Search, displayed for a search on passport on USA.gov. (It is most easily seen by clicking on the menu option from a mobile phone.)
On/off options for facets. Select which facets you'd like to appear on your results page. Turn an option on to allow searchers to see it. Turn an option on or off at any time.
Type over the text in the Name field to edit a facet's display name. Keep each name short (15 or fewer characters) and consistent with the content you're searching. Click on the hyperlink in the Source field to update the facet's source content. Hover over the icon with three horizontal lines on the left to change the order.
More. We show up to four facets above your search box. If you turn on the display of more than four facets, you'll see them listed under a 'More' dropdown menu. Email us at firstname.lastname@example.org if you'd like to use a custom label instead of the default 'More'.
On/off options for modules. Turn on a module to allow searchers to see inline, contextually relevant results for selected content sources based on keyword matches with relevant queries. There are eight types of modules.
News. This option only appears after you've told us about your RSS feeds. When a searcher's query matches the title of an RSS article published within the past four months, the article appears in the News module. Very recent news results (less than five days) appear at the top of the page and less recent news results appear at the bottom. Up to three articles are displayed. Type over the default name, News, in the Name field to edit the display name.
Videos. This option only appears after you've told us about your YouTube channel. When a searcher's query matches the metadata of a video published within the 13 months, the video appears in the Videos module. One inline video is displayed with a link to see more videos for the searcher's query.
Job openings. When a searcher's query matches the text of a job opening published by your agency on USAJobs, the job appears in the Job Openings module. Up to three job openings are displayed. For more information, including a screenshot, read our post Help Searchers Find Jobs. You will need to contact us to get the Jobs module enabled for your site.
Federal Register documents. When a searcher's query matches the text of a notice or rule published by your agency in the Federal Register, the document appears in the Federal Register module. Up to three documents are displayed. For more information, including a screenshot, read our post Help Searchers Find Federal Register Documents.
Related searches. Help visitors better define the focus of their search by offering them searches related to their current search term. Suggestions are derived from the searches performed on your website. Up to five searches related to your visitors' original search are displayed and are updated in near real time.
Health topics. Help searchers find high-quality, authoritative health information from MedlinePlus and ClinicalTrials.gov. For more information, including a screenshot, read our post Help Searchers Find Health Information.
Recent tweets. This option only appears after you've told us about your Twitter account. When a searcher's query matches the text of a tweet published within the past three days, the tweet appears in the Recent Tweets module.
Type-ahead search. Help searchers refine their query by displaying type-ahead search suggestions as a list in the search box. The list forms as a searcher begins to type in the search box. Suggestions are listed in order of most popular (that is, most searched). They're updated every few seconds. See, for example, the suggestions as you type di... on SocialSecurity.gov's search results page.
Help visitors find content relevant to their search query that resides on other websites, such as the site for your parent organization or your Spanish-language site. When searchers click on the link to the related site, they see search results for their query on the related site.
Enter the site handle for one of your other DigitalGov Search sites. Enter the text you'd like searchers to see for the link to the related site. Create two entries, one from the first site to the second and vice versa, if you'd like a reciprocal link.
If you list more than two related sites, searchers will see them listed under a dropdown menu, View Topic.
Email us at email@example.com if you'd like to use a custom label instead of the default 'View Topic' label.
Pointer to Kick Off New Search
Your site's visitors sometimes don't realize the scope of the content they're searching against. This is especially true when you set up a search box for a subsection of your site only or when you have separate options for searching your web pages and databases.
See, for example, the custom messages on IRS.gov's Forms & Pubs beta search encouraging visitors to try their search again to see tax materials for prior years.
- Custom message on IRS.gov's Forms & Pubs beta search when there aren't any results
- Custom message when there are results
Email us at firstname.lastname@example.org if you'd provide searchers with a custom message to encourage them to search another section of your site, your database, or both.
Did you know? Searchers may narrow results by time period for any RSS feeds. See, for example, results for a search on jobs narrowed to press articles in the last week on WhiteHouse.gov.
Did you know? For any of your RSS feeds that you've extended with a contributor, publisher, or subject Dublin Core (External link) property, searchers may narrow results by the three facets. We'll display "Contributor," "Publisher," and "Subject" as the default names. Email us at email@example.com to if you want to customize these display names.
<body> tag on your HTML web pages.