Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am trying to send Google a search query with several units, some containing more than one word, separated by the boolean operator OR. Usually I'd write: (Oneword, Two words, Something containing four words, anotheroneword, word). However, Google doesn't seem to understand that.

OR or | do work, however the operation is obviously only performed on the words to each side of the operator, making it useless for multiple word queries.

I also tried "First Query" OR "Second Query" yet that seems to bring the exact same results as simply searching for First Query.

share|improve this question
1  
Google does not support this. –  Daniel Beck Oct 4 '11 at 11:59
    
Your last statement with "First Query" OR "Second Query" seemingly returning the same results as "First Query", this could be just that "First Query" is a better match, with "Second Query" coming lower down the results. If I search for "cat definition" OR "dog definition", (something possibly equally likely), results from both phrases are returned on the first page of results. –  jontyc Jan 16 '13 at 23:33
add comment

migrated from superuser.com Oct 4 '11 at 12:27

This question came from our site for computer enthusiasts and power users.

1 Answer

Extracted from Google's search tips, you can enclose your individual search queries with square brackets and separating them with a OR or | operator.

["Apple Pie"] OR ["Stack Exchange"] OR [Programming]

share|improve this answer
3  
The square brackets are not required in the search terms; the Google help will just use square brackets [ ] to denote queries. Also, according to Google, OR must be all caps. Otherwise, this is the right answer. –  Dan Cruz Oct 4 '11 at 12:24
    
Oops, you're right. Misread on my part. –  Jin Oct 4 '11 at 12:28
    
Quoting terms makes them phrases. The OP wants: (A AND B) OR (C AND D), not "A B" OR "C D" –  jontyc Jan 16 '13 at 23:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.