312-50V9 · Question #437
Which results will be returned with the following Google search query? site:target.com -site:Marketing.target.com accounting
The correct answer is B. Results matching "accounting" in domain target.com but not on the site Marketing.target.com. The Google 'site:' operator restricts results to a domain, '-site:' excludes a subdomain, and a plain keyword further filters matching pages.
Question
Which results will be returned with the following Google search query? site:target.com -site:Marketing.target.com accounting
Options
- AResults matching all words in the query
- BResults matching "accounting" in domain target.com but not on the site Marketing.target.com
- CResults from matches on the site marketing.target.com that are in the domain target.com but do
- DResults for matches on target.com and Marketing.target.com that include the word "accounting"
How the community answered
(30 responses)- A3% (1)
- B90% (27)
- D7% (2)
Why each option
The Google 'site:' operator restricts results to a domain, '-site:' excludes a subdomain, and a plain keyword further filters matching pages.
The site: and -site: operators are domain filters rather than keyword matches, so results are not simply pages that match all words in the query string.
The 'site:target.com' operator restricts results to the target.com domain, while '-site:Marketing.target.com' explicitly excludes that subdomain from those results. The keyword 'accounting' then filters for pages containing that word, returning only target.com pages - excluding Marketing.target.com - that mention accounting.
The '-site:' operator excludes Marketing.target.com, so results from that subdomain are specifically omitted - the opposite of what this choice claims.
The '-site:Marketing.target.com' operator explicitly excludes that subdomain, so results from Marketing.target.com are not returned regardless of the keyword match.
Concept tested: Google advanced search operators site and exclusion
Source: https://support.google.com/websearch/answer/2466433
Topics
Community Discussion
No community discussion yet for this question.