Use the Serving > Front Ends > Filters page to restrict users' searches by front end, using filters for:
- Domain - restrict searches to one or more domain names (not IP addresses)
- Language - restrict searches to either all languages or a selected set of languages
- File type - restrict searches to one or more file types, such as HTML, PDF, and so on
- Query expansion - determine the extent to which queries are expanded with synonyms
- Meta tags - filter searches by values and value types in meta tags
To use filters:
- Click Serving and then click Front Ends.
- Click the Edit link next to the collection front end you want to edit.
- Click the Filters tab.
From this page you can set up filters for the selected front end.
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, 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 marketing is in multiple domains, 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:
- In the Domain Restrict text box, enter at least one domain to which searches (using this front end) will be restricted to.
- Press Enter to add another domain name so that each domain is on a separate line.
- 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.
- 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:
- 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): - If you select the second option, select the checkboxes next to the languages you want to restrict search results to.
- 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.
- 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, the following extensions are
correct:
And the following extensions are incorrect:
.pdf
.xml .html
pdf, html, xml
To set up a file type filter:
- 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.
- 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.
- When finished, click the Update Filter button.
Query Expansion Policy
Use the query expansion policy to provide a richer set of results in response to user search queries. Query expansion lets the appliance add synonyms to a search query that a user has entered.
You can use the built-in set of synonyms, or provide your own, or use
the built-in terms and your own
To set the query expansion policy:
- In the Query Expansion text box, select one of the following values:
- None: Disables query expansion.
- Standard: Enables query expansion, using the built-in synonyms.
- Local: Enables query expansion, using only the synonyms that you upload to the appliance.
- Full: Enables query expansion, using the built-in synonyms and
the files that you upload to the appliance.
- Click the Update Filter button.
If you use Local or Full query expansion, you can also use a blacklist to block expansion of specified terms.
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:
- In the Meta Tag Filter area, select one of the following options:
- Enter the Meta Tag Name, such as "author".
- Select the Value Type (Exact, Partial, Existence).
- Enter the Meta Tag Value, such as "Peter Norton".
- To make filter changes to another front end, click the down arrow in
the Edit Front End drop-down menu, and then select the front end you
want.
- When finished, click Update Filter.