Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

1  
Google does not support this. – Daniel Beck Oct 4 '11 at 11:59
1  
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
    
@GivenSurname, "First Query" OR "Second Query" is the correct query. Do you see any difference in the "about x number of results"? – Pacerier Jan 16 at 1:41

Extracted from Google's search tips, you can enclose your individual search queries with double quotes and separate them with a OR or | operator.

"Apple Pie" OR "Stack Exchange" OR Programming
share|improve this answer
4  
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
1  
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
    
@Jin, Dude, the square brackets are just wrong. They don't mean what you think they mean. I'll edit them out. – Pacerier Jan 16 at 1:39

Your Answer

 
discard

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