Help

Query Language

In addition to the Advanced Search options for a given catalog on AlltheWeb, you can use special keywords and characters in your search to find pages within a specified domain, or pages with a certain word in their title or URL.

These keywords and characters can be quite useful in making a more specific query without having to navigate into the Advanced Search forms.

Does AlltheWeb support any advanced operators in a query?

AlltheWeb allows a number of advanced operators to construct a query, or query of phrases. These operators allow you to build phrases, and include or exclude specific terms or phrases in your query. The following operators are supported:

Character(s) Example Description
" " "pac man" Results will contain the phrase "pac man".
( ) (pac man) Results will contain either the term "pac" or the term "man". Putting multiple terms in parentheses is equivalent to using the Boolean or between single terms.
+ +pac Results must include the term "pac". You can create a more complex query by stringing along a sequence of terms. For example, "+pac +man" will find results that include both the term "pac" and the term "man". Using the + character is equivalent to using the Boolean and between single terms. By default, AlltheWeb assumes the use of the + operator.
- "dog breeders" -poodles Results will include pages with information on "dog breeders" excluding the term "poodles". Using the - character is equivalent to using the Boolean andnot between single terms.

[top of page]

Does AlltheWeb support Boolean query language?

The following Boolean operators are supported. However, it is important to note that they will only work from the Advanced Web Search page with "Boolean Query" selected from the "Query Type" pulldown menu. Currently you can use the following keywords to find results that include or exclude terms:

Operator Example Description
and pac and man All search results will contain both the terms "pac" and "man".
or pac or man Results will contain either the term "pac" or the term "man".
andnot pac andnot man Results will contain the term "pac" but not the term "man".
rank pac rank man Results will contain the term "pac" and preferably include the term "man".

Each of these Boolean operators can be used in conjunction with another and with parentheses, allowing you to make complex Boolean queries. The following are some examples of how these operators can be used together for more query precision.

Complex Boolean Examples
florida and golf andnot "Arnold Palmer" Results must contain the term "florida" and the term "golf" but not the phrase "Arnold Palmer".
florida and golf andnot "Arnold Palmer" rank LPGA Results will include "florida" and "golf" without the phrase "Arnold Palmer" preferably including the phrase "LPGA".

[top of page]

Does AlltheWeb support any special keywords in a query?

AlltheWeb supports a number of keyword shortcuts to many advanced search features. You can also use special keywords in your search to find pages within a specified domain, or pages with a certain words in their titles or URL. Currently the following keywords are supported:

Keyword Example Description
site: auctions site:domain.com Finds pages for "auctions" within "domain.com". This can be helpful in obtaining highly relevant results from a specific site. By default, the site: keyword anchors the value of the keyword to match the end of the hostname, in this case, "domain.com". This query will find pages for "auctions" within "domain.com", but not in "domain.com.sg".
The following examples illustrate how to use the caret (^) operator to anchor the value of the "site:" keyword to match the start, substring or exact hostname.
  antiques site:^auctions.domain.com* Using both the caret (^) and asterisk (*) operators anchor the value of the keyword to match the start of the hostname, in this case, "auctions.domain.com". This query will find pages for "antiques" within "auctions.domain.com.au", but not in "www.auctions.domain.com".
promotional offers site:^www.domain.com The caret (^) operator anchors the value of the keyword to match the exact hostname, in this case, "www.domain.com". This query will find pages for "promotional offers" within "www.domain.com" only. It will not search "www.domain.com.sg" or "domain.com".
"antique furniture auctions" site:domain.com* The asterisk (*) operator un-anchors the value of the keyword to match a substring in a hostname, in this case, "domain.com". This query will find pages for "antique furniture auctions" within any domain including "domain.com" in the hostname. These could include "www.domain.com", "www.domain.com.au", or "au.auctions.domain.com".
url: url:football Finds pages with the specific word or phrase in the URL. This example will find all pages that have the term "football" anywhere in the URL (e.g. http://www.domain.com/football.html would be in the results).
link: link:www.alltheweb.com Finds all pages with a link to www.AlltheWeb.com.
title: title:AlltheWeb Finds pages that contain the term "AlltheWeb" in the page title (which appears in the title bar of most browsers).
language: heippa language:fi Finds pages that contain the term "heippa" restricted to pages written in Finnish. Note: The language that you define must be a subset of the languages you are searching in. For example, if you have your preferred languages set to English and German, and you run a query with language:fi, you won't get any results.
filesize: landscapes filesize:<1024 Finds pages that contain the term "landscapes" on pages less than 1024 bytes.
landscapes filesize:[1024;2048] Finds pages that contain the term "landscapes" on pages between 1024 and 2048 bytes.
filetype: specifications filetype:pdf Finds PDF files containing the term "specifications".
specifications filetype:msword Finds Microsoft Word files containing the term "specifications".
specifications filetype:flash Finds Macromedia Flash files containing the term "specifications".

[top of page]