3 ms·
Google Images: error when you search for anything that starts with a dash
- thedevindevops 8y agoIt's part of the search commands i.e http://lmgtfy.com/?q=peanut+-butter http://lmgtfy.com/?q=peanut+-butter searches for articles that contain peanut but not butter
- haydenchambers 8y agounless... https://www.google.com/search?tbm=isch&sa=1&ei=HWWCXNPmLKeLjLsPs5-g8Ao&q=-%5C%27 https://www.google.com/search?tbm=isch&sa=1&ei=HWWCXNPmLKeLj...
- milquetoastaf 8y agoDoesn't work with regular google searches either
- azhenley 8y agoThe - excludes the next term from results, so you are searching for nothing here. A normal Google search returns no result, so Images must be handling it differently.
- samjbobb 8y agoThe dash is the NOT operator. This is the error that occurs when the query contains only NOT terms. It’s common to check for this special case in query processing and throw an error. Otherwise it’s easy to write a query that returns all or nearly all of the documents in the index. Try `-1 2`, `-1 -2`, and `1 2`
- protothomas 8y agoMore interestingly perhaps searching for “<term> -n to n” where n is an integer returns no results (e.g https://www.google.co.uk/search?q=google+-1+to+1 https://www.google.co.uk/search?q=google+-1+to+1