# 搜索引擎检索技巧

我们常用的搜索引擎是google和百度，掌握一些常用的搜索技巧对检索信息的效率和准确度有很大帮助。

## 1. 双引号 - 完全匹配

把检索词放在双引号里面代表完全匹配，也就是说搜索的返回结果包含检索词，顺序也一致。

## 2. 减号 - 排除

减号后面的检索词表示你想排除包含这个检索词的结果。使用这个减号的时候前面必须是空格，后面不带空格。

## 3. 星号 - 通配符

百度不支持，google支持。

## 4. site - 限定域名

site: 后面紧跟域名，表示只想展示整个域名下的结果。

## 5. filetype - 限定文件类型

filetype: 后紧跟文件后缀，表示返回的是这个文件类型结果。eg: 信息检索 filetype:pdf。

## 6. inurl - 出现在url中

inurl: 后面紧跟检索词，表示搜索结果的url中包含此检索词。由于关键词出现在url 中对排名有一定影响，使用inurl:搜索可以更准确地找到竞争对手。

## 7. intitle - 出现在title中

intitle: 后面紧跟检索词，表示搜索结果页面的标题中包含此检索词。使用intitle 指令找到的文件是更准确的竞争页面。如果关键词只出现在页面可见文字中，而没有出现在title 中，大部分情况是并没有针对关键词进行优化，所以也不是有力的竞争对手。

## 8. inanchor - 出现在锚点中

百度不支持。inanchor: 后面紧跟检索词，表示搜索结果的超链接中包含此检索词。比如在Google 搜索 ：inanchor:点击这里返回的结果页面本身并不一定包含“点击这里”这四个字，而是指向这些页面的链接锚文字中出现了“点击这里”这四个字。 可以用来找到某个关键词的竞争对手，而且这些竞争对手往往是做过SEO 的。研究竞争对手页面有哪些外部链接，就可以找到很多链接资源。

> 参考：
>
> <https://www.zhihu.com/question/19847393>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jun-wang.gitbook.io/learnjava/xiaolti-sheng/sou-suo-yin-qing-jian-suo-ji-qiao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
