TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Google Images: error when you search for anything that starts with a dash

17 点作者 TonnyGaric大约 6 年前

3 条评论

azhenley大约 6 年前
The <i>-</i> excludes the next term from results, so you are searching for nothing here.<p>A normal Google search returns no result, so Images must be handling it differently.
samjbobb大约 6 年前
The 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.<p>Try `-1 2`, `-1 -2`, and `1 2`
protothomas大约 6 年前
More interestingly perhaps searching for “&lt;term&gt; -n to n” where n is an integer returns no results (e.g <a href="https:&#x2F;&#x2F;www.google.co.uk&#x2F;search?q=google+-1+to+1" rel="nofollow">https:&#x2F;&#x2F;www.google.co.uk&#x2F;search?q=google+-1+to+1</a>