当前位置:网站首页>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.
边栏推荐
- alibaba数据同步组件canal的实践整理
- 架构篇(二)架构的复杂度来源
- Detailed explanation of new features of ES advanced function syntax
- 基于FPGA状态机的自动售货机功能实现
- Js prototype and prototype chain and prototype inheritance
- ES进阶 函数功能语法新特性详解
- comp3331-9331-16s2-midterm复习
- 最倒霉与最幸运
- ESP32的环境配置(arduino arduino2.0 VScode platform哪个好用?)
- 夫妻一方婚内向异性大额转款,怎么判
猜你喜欢

alibaba数据同步组件canal的实践整理

Summary of Logstash log data write exception troubleshooting

Docker 链接sqlserver时出现en-us is an invalid culture错误解决方案

【idea 报错】 无效的目标发行版:17 的解决参考

Logstash日志数据写入异常排查问题总结

ES6 advanced string processing new features

Future Trends in Vulnerability Management Programs

Salesforce解散中国团队,什么样的CRM产品更适合中国人
OpenHarmony啃论文俱乐部-啃论文心得
![[oops-framework] Template project [oops-game-kit] Introduction](/img/09/29faf7626b0bc66e4d016a15e80b8b.png)
[oops-framework] Template project [oops-game-kit] Introduction
随机推荐
压力能变成动力
基于 HPSO 与多核 LSSVM 的网络入侵检测
言简意赅,说说 @Transactional 在项目中的使用
Some work experience after joining the digital ic design
架构篇(二)架构的复杂度来源
面试常考的7种排序算法
Matlab矩阵(数组)元素过滤常见方法详解
js中的this问题
ASEMI整流桥GBJ5010参数,GBJ5010电压,GBJ5010电流
(Nips-2015)空间变换器网络
通过微透镜阵列的传播
A surviving spouse of the opposite sex within large turn paragraph, what for
掌握这几招,轻松K.O面试官,Offer拿到吐
全局大喇叭--广播机制
How to realize the repeatable design of FPGA
【PHP】入门知识
async和await的理解和用法
Js prototype and prototype chain and prototype inheritance
sql 使用到where和groupby时建立索引结果为啥是这样,原理是什么?
《人生若如初见》命运多舛,人物饱满,朱亚文角色反差太惊喜