# 全文検索（テキスト検索）

![](/files/-MZ7F_wQ4fN-ziVuBT95)

テキスト検索は、**本文のテキストデータ全部**に対して検索をおこなう機能です。指定したキーワードを含む文書を全部抽出できます。 \
更にそのキーワードの周辺の記述を画面内で一覧することができます。

## キーワード検索

メインの検索ボックスは、本文を対象にしてキーワード検索をおこないます。指定したキーワードの周辺の記述が、一覧表示されます。 複数のキーワードを指定することも可能です。その場合は、近接した場所に各キーワードが存在する場合にヒットします。

{% hint style="info" %}
:white\_check\_mark: 複数キーワード指定\
&#x20;検索対象が多い場合、単純な1語検索だとノイズが増えてしまいます。 \
**複数キーワード指定を使うと、指定キーワード全てが近く（5行以内程度）に存在する場合にだけヒット**します。 これにより検索精度を上げることができます。&#x20;
{% endhint %}

## 検索結果から文書にジャンプする

左側&#x306B;**「Ｐ１」**&#x306A;どのページ番号が表示されます。これはPDFファイルのページ数と正確に対応しています。\
**クリックすると、PDFの該当ページがダイレクトに開いて表示されます。**&#x7D20;早く原文書の確認ができます。

{% content-ref url="/pages/-MZ6Zt6kglQX4YgT06Ti" %}
[全文検索する](/guide/text-search/search-all.md)
{% endcontent-ref %}


---

# 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://docs.bengo-kakumei.jp/guide/tutorial/text-search.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.
