当前位置:网站首页>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.
边栏推荐
- 超声图像三维拼接-可视化选择,总体思路
- 如何解决高度塌陷
- postgresql ilike create function
- 关于地图GIS的一次实践整理(下) Redis的GIS实践
- Ninjutsu_v3_08_2020 - safety penetrating system installation
- Multi-threaded ThreadPoolExecutor
- A surviving spouse of the opposite sex within large turn paragraph, what for
- Ninjutsu_v3_08_2020-安全渗透系统安装
- ESP32的环境配置(arduino arduino2.0 VScode platform哪个好用?)
- MySQL的主从复制+读写分离+分库分表,看这一篇文章就够了
猜你喜欢
随机推荐
Docker 链接sqlserver时出现en-us is an invalid culture错误解决方案
comp3331-9331-22t1-midterm复习辅导-tutorial week 5
(CVPR-2017)在身体和潜在部位学习深度上下文感知特征以进行行人重识别
BUU刷题记录
The practice of alibaba data synchronization component canal
leetcode 739. Daily Temperatures 每日温度(中等)
Economic Misunderstandings in the Crypto World: Is Cash a Savings?Scarcity creates value?
解决vim与外界的复制粘贴(不用安装插件)
备战“金九银十”,软件测试功能 / 数据库 /linux/ 接口 / 自动化 / 测试开发面试真题解析
Geogebra 教程之 04 Geogebra 小程序
四大组件---ContentResolver
ES进阶 函数功能语法新特性详解
ROS源代码阅读(1)
Gaussian beam focused by thermal lens
调试技巧总结
多线程之ThreadPoolExecutor
①In-depth analysis of CAS SSO single sign-on framework source code
LitePal操作数据库
TRCX:掺杂过程分析
WeChat public account background management
![[oops-framework] Template project [oops-game-kit] Introduction](/img/09/29faf7626b0bc66e4d016a15e80b8b.png)







