当前位置:网站首页>Google search skills - programmer is recommended
Google search skills - programmer is recommended
2022-08-11 02:46:00 【ZWZhangYu】
Article table of contents
Foreword
When I used Google to search for an abnormal problem yesterday, I inadvertently found the following prompt
For reference as above, I listed some keywords at random. Obviously, I couldn’t find the exact matching result. I noticed the prompt in the red box, which reminded me that the current result does not match SpringBoot, whether it must contain, when I clicked must include: 
when IAfter clicking, the search bar adds double quotes to the SpringBoot keyword, which seems to indicate that the search results must contain the springboot keyword.
This piqued my curiosity. Although I often use Google to search, the biggest feature of using it is through keyword matching instead of using a long sentence.For better query questions and learning in the future, I need to learn more about Google search skills.
Google search syntax instructions
Use quotation marks to look up an exact word or phrase
You can use "" to specify that search results contain specific words or phrases
In the above query, I marked "java" as a must, and you can see that the results all contain the content about java.
OR query
Separate search terms with OR and execute two search queries simultaneously, which will find pages that contain one of multiple words.
Normally, Google will search all the words you type.By using the OR instruction, Google will know that it needs to look up one set of words or another.OR must be all caps or Google will think it's just part of the keyword and won't execute that search syntax.
Exclude specific sites
Use a hyphen before a word or website to exclude it from search results.
Example:
Exclude Wikipedia pages from search results, syntax: - site:wikipedia.org
Example:
The top search for SpringBoot below is the official website of spring.io
The above syntax is used to exclude the search results of this website
springboot-site::spring.io
You can see that a specific website has been excluded
Title Search
Command: allintitle
Use allintitle:[search phrase] to find pages with these words in the title
Example: Find pages with both "Apple" and "notebook" in the title, syntax: allintitle:Apple notebook
Example:
Note: this is not the contentThe keyword matches, but the keyword matching based on the title, which tends to query more precise content.
Restrict search results to specific sites
Directive: site
Function: Use site:[URL] to limit search results to specific sites
Example: Search only stackoverflow.com finds
site:stackoverflow.com springboot springcloud
View information about a region
Command: location:
Function: Use location:[location] to view relevant information in a certain area
Example: hotel location:anhui to query hotels in Anhui
Limit results to specific file formats
Directive: filetype:
Function: Use filetype:[suffix] to limit the result to a specific file format, such as PDF or DOC.
Example: springboot filetype:pdf Query about Springboot pdf file
Summary
[1] Reasonable use of some search commands can help better obtain the desired results, such as precise search, excluding specific websites, searching only on certain websites, querying data in a specific format, restricting regions, etc.
[2] There are still many related search commands. The above are just some of the search commands that I think are more suitable for developers. They are also good for allintext and intext, but they are not as simple as direct search, and the search results are different.Not too many, and the fewer commands you use, the more portable you will be.
边栏推荐
- ARM development (4) How to read the chip manual for novice Xiaobai, bare metal driver development steps and pure assembly to achieve lighting, assembly combined with c lighting, c to achieve lighting
- Summary of Logstash log data write exception troubleshooting
- qtcreator调试webkit
- OptiFDTD应用:用于光纤入波导耦合的硅纳米锥仿真
- MySQL - 一条SQL在MySQL中是如何被执行的?
- YTU 2418: C语言习题 矩阵元素变换
- 自动生成数据库设计文档利器
- df和df -lh的意思
- YTU 2411: 谁去参加竞赛?【简单循环】
- Mysq_Note4
猜你喜欢
随机推荐
OptiFDTD应用:用于光纤入波导耦合的硅纳米锥仿真
YTU 2411: 谁去参加竞赛?【简单循环】
今天聊聊接口幂等性校验
Research on the Application of Privacy Computing Fusion
comp3331-9331-16s2-midterm复习
Mysq_Note4
IDE编译报错:Dangling metacharacter
通过热透镜聚焦的高斯光束
Summary of Logstash log data write exception troubleshooting
基于 HPSO 与多核 LSSVM 的网络入侵检测
DOM-DOM树,一个DOM树有三种类型的节点
自动生成数据库设计文档利器
CC0 vs. commercial IP: which model is better for NFTs?
全局大喇叭--广播机制
混币器Tornado遭制裁 对DeFi市场意味着什么?
[4G/5G/6G专题基础-154]: 5G无线准入控制RAC(Radio Admission Control)
调试技巧总结
leetcode 739. Daily Temperatures 每日温度(中等)
Entity to Vo conversion
Inter-process communication method (2) Named pipe








