TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Art of Googling

2 pointsby lauragift21over 5 years ago

1 comment

presidentscroobover 5 years ago
I&#x27;m disappointed by the deprecation and decay of features of DDG and Goog in recent years, it seems like the trend is toward dumbing-down.<p>It used to be that double-quoted strings meant &quot;search for exactly this, not fuzzy searches&quot;. Now, DDG requires a plus sign in front of a double-quoted string. <i>+&quot;KS-19319ZJFT&quot;</i><p>Also, way, way back, you could conduct elaborate boolean searches like (space equals implicit &quot;and&quot;, so it&#x27;s omitted):<p><pre><code> site:foo.com -site:docs.foo.com ((lemons &quot;crab apples&quot;) or ((oranges beans) (cherries plums))) </code></pre> Ideally, I&#x27;d like a syntax that looks like this:<p><pre><code> search = &quot;( search &quot;)&quot; | &quot;-&quot; search | search (&quot;and&quot;)? search | search &quot;or&quot; search | constraint | term term = quoted_term | simple_term quoted_term = &#x27;&quot;&#x27;([^&quot;\\]|&#x27;\\&quot;&#x27;)+&#x27;&quot;&#x27; | &quot;&#x27;&quot;([^&#x27;\\]|&quot;\\&#x27;&quot;)+&quot;&#x27;&quot; simple_term = [^&#x27;&quot; ]+ constraint = file_type_constraint | url_constraint | site_constraint | temporal_constraint file_type_constraint = &quot;filetype:&quot; (common_type|&quot;*&quot;?&quot;.&quot;?[a-z0-9]+) | &quot;mimetype:&quot; regex common_type = &quot;video&quot;|&quot;photo&quot;|&quot;audio&quot;|&quot;email&quot;|&quot;web&quot;|&quot;document&quot;|&quot;text&quot; url_constraint = &quot;inurl:&quot; regex site_constraint = &quot;site:&quot; regex time_constraint = &quot;before:&quot; date | &quot;after:&quot; date | &quot;within:&quot; time &#x2F;* &quot;and,&quot; &quot;or,&quot; and : prefixes should be case-insensitive and localizable *&#x2F; &#x2F;* date, time and regex are &quot;exercises for the reader&quot; ;) *&#x2F;</code></pre>