> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/dataset-search.md).

# データセットを検索

Roboflow では、ファイル名、検索クエリで画像ファイルを検索でき、クエリとフィルターを組み合わせて特定の画像を見つけたり、データをより深く理解したりできます。

* **特定のタグが付いた split 内の画像:**\
  `tag:factory split:train`\
  これは tag フィルターと split フィルターを使用します
* **Semantic Search と class フィルターを使って、欠けているラベルを見つけます**:\
  `person -class:helmet`\
  これは semantic search と class フィルターに対する反転フィルターを使用します
* **ある class を持つすべての画像に特定のフィルターが必要な場合:**\
  `class:helmet AND NOT (tag:v1 OR tag:v2)`\
  これは class フィルター、Boolean Logic、tag フィルターを使用します
* **注釈数が少ない横幅の広い画像を見つけます:**\
  `min-width:1000 max-annotations:1`\
  これは最小幅フィルターと最大注釈数フィルターを使用します

の完全な一覧を見る [検索フィルター](#search-filters)、下の例も参照してください

{% hint style="info" %}
これらすべての検索フィルターとクエリを組み合わせることができます
{% endhint %}

### Semantic Search

画像を説明することで検索できます。これらのクエリは、検索語に最も関連性の高い画像を検索し、オブジェクトにまだラベルが付いていない場合でも画像を見つけるのに役立ちます。

フィルターセレクターを使わずにテキストクエリを入力すると、semantic search が実行されます（例: `filename:`)

<figure><img src="/files/a52b3fdf23eebf7722ada34f54902e1a565fc8a7" alt=""><figcaption></figcaption></figure>

### ファイル名で検索

次の方法でファイル名を検索できます: `filename:` フィルターまたはファイル名テキストボックスを使用すると、クエリが自動生成されます。

<figure><img src="/files/e2e909c1c5daef74ecedde06ab7148c34620bfe5" alt="" width="192"><figcaption></figcaption></figure>

### Dataset Split で検索

dataset split（train、valid、test）で画像を検索します

<figure><img src="/files/4f587b542179182df10e5687bee393b85be14f56" alt="" width="257"><figcaption></figcaption></figure>

## Search Filters

使用できるフィルターは次のとおりです:

* `like-image:<IMAGE_ID>`: 画像コンテンツに基づく semantic search
* `tag` : ユーザーが指定した tag でフィルタします。
* `filename` : 指定されたファイル名に一致するファイル名を検索します。部分一致を実行するには、クエリの先頭と末尾に \* を使用します。
* `split` : split（train、test、valid）でフィルタします。
* `job:<JOB_ID>` : 指定された job ID を持つ画像を表示します。
* `min-width:X` : 幅が X より大きい画像を表示します。
* `max-width:X` : 幅が X 未満の画像を表示します。
* `min-height:X` : 高さが X より大きい画像を表示します。
* `max-height:X` : 高さが X 未満の画像を表示します。
* `min-annotations:X` : 指定された数より多くの注釈がある画像をフィルタします。
* `max-annotations:X` : 指定された数より少ない注釈がある画像を表示します。
* `class:CLASS`: 指定されたラベルの注釈が少なくとも 1 つある画像を表示します。

### Boolean Logic

AND、OR、NOT、および括弧を使って複数のフィルターを組み合わせ、複雑なクエリを作成します。

`class:helmet AND NOT (tag:v1 OR tag:v2)`

### Inverted Filters

フィルターの前にマイナス記号を付けると、そのフィルターに一致する画像を除外できます。

`class:helmet -class:vest`

### Numeric Class Filters

画像内のラベル付きアイテム数でフィルタします。

`class:helmet=3 class:vest>=4`

## API

Roboflow では、次の方法でもデータセットと画像を検索できます: [Search API](https://docs.roboflow.com/api-reference/images/search#rest-api).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/dataset-search.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
