Back to Home | Help Center | Log Out
 Help Center
 

Help Center

Home

Crawl and Index

Serving
  Front Ends
    Output Format
    KeyMatch
    Related Queries
    Filters
    Remove URLs
    OneBox Modules
  OneBox Modules
  Result Biasing

Status and Reports

Administration

More Information

Serving > Front Ends > Filters

Use the Serving > Front Ends > Filters page to restrict users' searches by front end. You can use the following filters and policies:

  • Domain filter - restrict searches to one or more domain names (not IP addresses)
  • Language filter - restrict searches to either all languages or a selected set of languages
  • File type filter - restrict searches to one or more file types, such as HTML, PDF, and so on
  • Meta tags filter - filter searches by values and value types in meta tags

You can also set the result biasing policy.

Domain Filters

When filtering by a domain name, all domains ending with that name are filtered. For example, the domain yourdomainname.com returns search results in all domains such as these:
    www.yourdomainname.com
    news.yourdomainname.com
    ops.yourdomainname.com

However, if the domain name is followed by a directory name, then the domain name must be fully qualified. For example, yourdomainname.com/marketing will not return any results under the domain name filter alone. The correct filter would be www.yourdomainname.com/marketing. If the directory called marketing is in multiple domains, then each filter must be specified individually -- one per line, one for each domain, such as these:

    www.yourdomainname.com/marketing
    news.yourdomainname.com/marketing
To set up a domain filter:
  1. In the Domain Restrict text box, enter at least one domain to which searches (using this front end) will be restricted to.
  2. Press Enter to add another domain name so that each domain is on a separate line.
  3. To make filter changes to another front end, click the down arrow in the Edit Front End drop-down menu and select the front end you want.
  4. When finished, click the Update Filter button.

Language Filters

You can select, for any front end, to search for pages in any language or to search for pages in selected languages.

To set up a language filter:

  1. In the Language Restrict area, select either one of two options:
    Search for pages written in any language.
    or
    Search only for pages written in these language(s):
  2. If you select the second option, select the checkboxes next to the languages you want to restrict search results to.
  3. To make filter changes to another front end, click the down arrow in the Edit Front End drop-down menu and select the front end you want.
  4. When finished, click the Update Filter button.

File Type Filters

The search appliance can crawl many file types.

Specify extensions without the leading period. Separate multiple extensions with spaces, NOT with commas. For example,

    Correct:
    pdf
    pdf html xml

    Incorrect:
    .pdf
    .pdf .html
    pdf, html

To set up a file type filter:
  1. In the File Type Restrict text box, enter the extensions of file types to which you want to restrict the search results. For example, to restrict results to only HTML files, you would enter HTML.
  2. To make filter changes to another front end, click the down arrow in the Edit Front End drop-down menu and select the front end you want.
  3. When finished, click the Update Filter button.

Meta Tag Filters

You can filter search results by meta tag, restricting by "all" or "any," by value type, and by value.

To set up a meta tag filter:

  1. In the Meta Tag Filter area, select one of the following options:
    • Match all
    • Match any
  2. Enter the Meta Tag Name, such as "author".
  3. Select the Value Type (Exact, Partial, Existence).
  4. Enter the Meta Tag Value, such as "Peter Norton".
  5. To make filter changes to another front end, click the down arrow in the Edit Front End drop-down menu and select the front end you want.
  6. When finished, click the Update Filter button.

Result Biasing

Result biasing lets you tune the way that results are scored and affects the display of results. For information about result biasing, click Result Biasing in the left navigation bar.

By default, result biasing is disabled. To enable result biasing:

  1. Configure the options at Serving > Result Biasing.
  2. Click Enable.

 

 
© Google Inc. 2008