# ウィキを検索する

GitHub 上の wiki を検索できます。また、これらの wiki の検索修飾子を組み合わせて、結果を絞り込むことができます。

GitHub 全体にわたってグローバルに wiki を検索できます。あるいは、特定のリポジトリや organization 内のウィキの検索もできます。 詳しくは、「[GitHubでの検索について](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/about-searching-on-github)」をご覧ください。

> \[!TIP]
>
> * この記事には、GitHub.com の Web サイトでの検索例へのリンクが含まれていますが、同じ検索フィルターはあらゆる GitHub プラットフォームで使えます。 リンクされている検索例で、`github.com` を GitHub プラットフォームのホスト名に置き換えてください。
> * 検索結果をさらに改善するために検索修飾子を追加できる検索構文の一覧については、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」を参照してください。
> * 複数単語の検索用語は引用符で囲みます。 たとえば "In progress" というラベルの問題を検索したい場合は、`label:"in progress"` と検索します。 検索では、大文字と小文字は区別されません。

## ユーザまたは Organization のリポジトリ内の検索

特定のユーザーまたは Organization が所有するすべてのリポジトリで Wiki ページを検索するには、`user` または `org` 修飾子を使います。 特定のリポジトリの Wiki ページを検索するには、`repo` 修飾子を使います。

| 修飾子                                                                                                                                   | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>user:<em>USERNAME</em></code>                                                                                                   |   |
| \[                                                                                                                                    |   |
| **user:defunkt**]\(<https://github.com/search?q=user%3Adefunkt&type=Wikis>) は、@defunkt が所有するリポジトリの Wiki ページと一致します。                    |   |
| <code>org:<em>ORGNAME</em></code>                                                                                                     |   |
| \[                                                                                                                                    |   |
| **org:github**]\(<https://github.com/search?q=org%3Agithub&type=Wikis&utf8=%E2%9C%93>) は、GitHub組織が所有するリポジトリ内の wiki と一致します。            |   |
| <code>repo:<em>USERNAME/REPOSITORY</em></code>                                                                                        |   |
| \[                                                                                                                                    |   |
| **repo:defunkt/gibberish**]\(<https://github.com/search?q=user%3Adefunkt&type=Wikis>) は、@defunkt の "gibberish" リポジトリの Wiki ページと一致します。 |   |

## ウィキページのタイトルまたは本文内の検索

`in` 修飾子は、Wiki ページのタイトルまたは本文のテキストに検索を限定します。 この修飾子がない場合、タイトルおよび本文のテキストの両方が検索されます。

| 修飾子                                                                                                                                              | 例 |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| `in:title`                                                                                                                                       |   |
| \[                                                                                                                                               |   |
| **usage in:title**]\(<https://github.com/search?q=usage+in%3Atitle&type=Wikis>) は、"usage" という単語を含む Wiki ページのタイトルと一致します。                          |   |
| `in:body`                                                                                                                                        |   |
| \[                                                                                                                                               |   |
| **installation in:body**]\(<https://github.com/search?q=installation+in%3Abody&type=Wikis>) は、本文のテキストに "installation" という単語が含まれる Wiki ページと一致します。 |   |

## 最終更新日で検索

`updated` 修飾子は、指定した日付範囲内に最後に更新された Wiki ページと一致します。

日付に対して検索を行う場合、結果をさらにフィルタリングするためにより大きい、より小さい、範囲の修飾子を利用できます。 詳しくは、「[検索構文を理解する](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)」をご覧ください。

| 修飾子                                                                                                                                                                                                                                       | 例 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| <code>updated:<em>YYYY-MM-DD</em></code>                                                                                                                                                                                                  |   |
| \[                                                                                                                                                                                                                                        |   |
| **usage updated:>2016-01-01**]\([https://github.com/search?q=usage+updated%3A>2016-01-01\&type=Wikis](https://github.com/search?q=usage+updated%3A>2016-01-01\&type=Wikis)) は、"usage" という単語を含み、2016 年 1 月 1 日より後に最後に更新された Wiki ページと一致します。 |   |

## 参考資料

* [検索結果をソートする](/ja/enterprise-server@3.22/search-github/getting-started-with-searching-on-github/sorting-search-results)