How to Google a question mark? - Super User most recent 30 from superuser.com 2010-03-17T07:49:10Z http://superuser.com/feeds/question/52307 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://superuser.com/questions/52307/how-to-google-a-question-mark 7 How to Google a question mark? Derek http://superuser.com/users/10747 2009-10-07T15:33:00Z 2009-10-07T17:21:46Z <p>In a nutshell, I'd like Google to return pages where a question mark is present in the title.</p> <p>My gut was to try something like:</p> <pre><code>allintitle: * "?" </code></pre> <p>However Google doesn't seem to like question marks in its search queries, even if they're in quotes. Any ideas?</p> http://superuser.com/questions/52307/how-to-google-a-question-mark/52317#52317 2 Answer by Noldorin for How to Google a question mark? Noldorin http://superuser.com/users/8194 2009-10-07T15:50:06Z 2009-10-07T15:50:06Z <p>I'm pretty sure Google strips all queries of question marks (<code>?</code>s( by design, regardless of whether they exist inside quotes or not. This is probably because the less "Google-aware" ask everything as a question, when they simply want to be searching for terms. Unfortunately, I do not believe there's any way of escaping the character.</p> <p>The vast majority of the time, question marks <em>are</em> indeed irrelevant, though understandably in certain contexts, including programming, it may be useful to include them in a query. Suggest the idea to Google? I can't say much more really...</p> http://superuser.com/questions/52307/how-to-google-a-question-mark/52318#52318 3 Answer by Arjan van Bentem for How to Google a question mark? Arjan van Bentem http://superuser.com/users/482 2009-10-07T15:51:05Z 2009-10-07T17:21:46Z <p><strong>The search index does not store everything.</strong> Though some special characters (like in C++) appear to be in the index, <strong>I doubt question marks (and common words) are in the search index</strong>. And hence you cannot search for it.</p> <p>To get an idea of what seems to be in the search index, one can look at the help text in the grey box (below "<em>This is Google's cache of superuser.com</em>") when asking Google to highlight terms from the cache. Google silently refuses to highlight things that, I guess, are not in the index, even though they are in that cache. For Super User's cache:</p> <ul> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+super+user" rel="nofollow">super user</a>: <em>These search terms are highlighted: super user</em></li> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+lorem+ipsum" rel="nofollow">lorem ipsum</a>: <em>These terms only appear in links pointing to this page: lorem ipsum</em></li> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+%22" rel="nofollow">?</a>: (silently ignored)</li> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+more%22" rel="nofollow">more?</a>: <em>These search terms are highlighted: more</em> (so: the question mark is silently ignored)</li> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+c%2B%2B" rel="nofollow">c++</a>: <em>These terms only appear in links pointing to this page: c++</em></li> </ul> <p>It even refuses to highlight common words, which (nowadays) are actually allowed in a search all by themselves, like "<a href="http://www.google.com/search?q=how" rel="nofollow">how</a>":</p> <ul> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+how" rel="nofollow">how</a>: (silently ignored)</li> <li><a href="http://74.125.77.132/search?q=cache%3ACJ5crGwNiVkJ%3Asuperuser.com/+how+faq" rel="nofollow">how faq</a>: <em>These search terms are highlighted: faq</em> (so: "how" is silently ignored)</li> </ul> http://superuser.com/questions/52307/how-to-google-a-question-mark/52324#52324 0 Answer by Ganesh.R for How to Google a question mark? Ganesh.R http://superuser.com/users/4257 2009-10-07T16:14:19Z 2009-10-07T16:14:19Z <p>Google uses many characters to give special meaning to the search like:</p> <blockquote> <p>Phrase search ("") By putting double quotes around a set of words, you are telling Google to consider the exact words in that exact order without any change.</p> <p>Search within a specific website (site:) Google allows you to specify that your search results must come from a given website. </p> <p>Terms you want to exclude (-) Attaching a minus sign immediately before a word indicates that you do not want pages that contain this word to appear in your results</p> <p>Fill in the blanks (*) The *, or wildcard, is a little-known feature that can be very powerful. If you include * within a query, it tells Google to try to treat the star as a placeholder for any unknown term(s) and then find the best matches.</p> <p>Search exactly as is (+) Google employs synonyms automatically,</p> <p>The OR operator Google's default behavior is to consider all the words in a search. If you want to specifically allow either one of several words, you can use the OR operator (note that you have to type 'OR' in ALL CAPS).</p> <p><strong>Punctuation that is not ignored</strong> * Punctuation in popular terms that have particular meanings, like [ C++ ] or [ C# ] (both are names of programming languages), are not ignored. * The dollar sign ($) is used to indicate prices. [ nikon 400 ] and [ nikon $400 ] will give different results. * The hyphen - is sometimes used as a signal that the two words around it are very strongly connected. (Unless there is no space after the - and a space before it, in which case it is a negative sign.) * The underscore symbol _ is not ignored when it connects two words, e.g. [ quick_sort ].</p> </blockquote> <p>Got this information from <a href="http://www.google.com/support/websearch/bin/answer.py?hl=en&amp;answer=136861" rel="nofollow">here</a>.</p> <p>The line </p> <blockquote> <p><strong>Punctuation that is not ignored</strong> means that google by default ignores punctuations. Also '?' is mostly used as start of input(for the web server) in a URL. </p> </blockquote> http://superuser.com/questions/52307/how-to-google-a-question-mark/52325#52325 10 Answer by avelldiroll for How to Google a question mark? avelldiroll http://superuser.com/users/12517 2009-10-07T16:15:46Z 2009-10-07T16:15:46Z <p>From <a href="http://www.google.com/support/websearch/bin/answer.py?answer=134479" rel="nofollow">Google FAQ</a>:</p> <blockquote> <p>With some exceptions, punctuation is ignored (that is, you can't search for @#$%^&amp;*()=+[]\ and other special characters).</p> </blockquote> <p>Following <a href="http://www.google.com/support/websearch/bin/answer.py?answer=136861#exceptions%5Fpunctuations" rel="nofollow">here</a>:</p> <blockquote> <p>Punctuation that is not ignored</p> <ul> <li>Punctuation in popular terms that have particular meanings, like [ C++] or [ C# ] (both are names of programming languages), are not ignored.</li> <li>The dollar sign ($) is used to indicate prices. [ nikon 400 ] and [ nikon $400 ] will give different results.</li> <li>The hyphen - is sometimes used as a signal that the two words around it are very strongly connected. (Unless there is no space after the - and a space before it, in which case it is a negative sign.)</li> <li>The underscore symbol _ is not ignored when it connects two words, e.g. [ quick_sort ].</li> </ul> </blockquote> <p>So it seems that <strong><em>?</em></strong> will be ignored by google no matter how you feed it to the search engine.</p> <p>The only search engines that I have seen being aware of punctuation were <em>code</em> search engines.</p>