本文へ移動
cccskills
無料GitHub で公開

elasticsearch-py

Guide the official Elasticsearch Python client for cluster connections, generated APIs, async code, bulk ingestion, query DSL, ES|QL, optional integrations, and runtime troubleshooting.

インストール方法を見る

含まれるファイル(25)

  • SKILL.md3.9 KB
  • references/repo-provenance.md1.1 KB
  • references/repo-routing-metadata.json335 B
  • references/troubleshooting.md2.0 KB
  • sub-skills/client-operations/references/api-reference.md3.0 KB
  • sub-skills/client-operations/references/connection-recipes.md2.5 KB
  • sub-skills/client-operations/references/troubleshooting.md2.4 KB
  • sub-skills/client-operations/SKILL.md3.4 KB
  • sub-skills/dsl-search/references/api-reference.md1.9 KB
  • sub-skills/dsl-search/references/data-and-mapping.md1.4 KB
  • sub-skills/dsl-search/references/troubleshooting.md2.1 KB
  • sub-skills/dsl-search/references/workflows.md2.1 KB
  • sub-skills/dsl-search/scripts/dsl_query_smoke.py1.1 KB
  • sub-skills/dsl-search/SKILL.md2.4 KB
  • sub-skills/esql-query-builder/references/api-reference.md1.5 KB
  • sub-skills/esql-query-builder/references/pandas-integration.md960 B
  • sub-skills/esql-query-builder/references/troubleshooting.md1.8 KB
  • sub-skills/esql-query-builder/references/workflows.md1.4 KB
  • sub-skills/esql-query-builder/scripts/esql_query_smoke.py1011 B
  • sub-skills/esql-query-builder/SKILL.md2.0 KB
  • sub-skills/helpers-ingest/references/api-reference.md2.1 KB
  • sub-skills/helpers-ingest/references/troubleshooting.md2.2 KB
  • sub-skills/helpers-ingest/references/workflows.md2.0 KB
  • sub-skills/helpers-ingest/scripts/bulk_actions_smoke.py1.6 KB
  • sub-skills/helpers-ingest/SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Elasticsearch Python client

Use this skill when a task uses the official elasticsearch Python package or asks for Elasticsearch connections, indexing/search APIs, async client code, bulk helpers, the high-level DSL, ES|QL, vector-store helpers, or client troubleshooting. The source snapshot is package version 9.5.0; read repo-provenance.md before deciding whether the skill is stale for a different client checkout or version.

Route the request

  • Connect, authenticate, configure transport, use generated API namespaces, or manage sync/async lifecycle: read client-operations.
  • Bulk index/update/delete, streaming, scan, reindex, or helper failures: read helpers-ingest.
  • Q, Search, aggregations, mappings, Document, typed persistence, or high-level query composition: read dsl-search.
  • ES|QL source/processing builders, safe parameters, or tabular results: read esql-query-builder.
  • Shared install, serialization, version, or security failures: read troubleshooting.md in addition to the route.

For a cross-cutting task, load client-operations first, then the workflow route; keep the client/auth configuration separate from request-body construction.

Install and smoke check

The package supports Python 3.10+. Install only the extras used by the task:

python -m pip install elasticsearch
python -m pip install "elasticsearch[async]"       # aiohttp async transport
python -m pip install "elasticsearch[requests]"    # requests transport
python -m pip install "elasticsearch[orjson]"      # optional serializer
python -m pip install "elasticsearch[pyarrow]"     # Arrow/ES|QL workflows
python -m pip install "elasticsearch[vectorstore_mmr]"  # MMR helper support
from elasticsearch import AsyncElasticsearch, Elasticsearch
print(Elasticsearch, AsyncElasticsearch)

An import proves package availability only. client.info() is a live service probe and requires a reachable endpoint, credentials, and correct TLS.

Guardrails

  • Keep API keys, passwords, bearer tokens, CA files, and cluster URLs in runtime configuration or environment variables, not in generated guidance or logs.
  • Prefer TLS verification with ca_certs or a supported fingerprint. Do not use verify_certs=False as a production solution.
  • Generated client modules are specification output; do not edit files under elasticsearch/_sync/client/ or elasticsearch/_async/client/ to change an API. Upstream API changes belong in the Elasticsearch specification project.
  • A bulk HTTP response can contain item failures. Inspect helper results and use bounded retries only for operations whose retry semantics are understood.
  • A rendered DSL/ES|QL request is not server validation. Check target mappings, server version, privileges, response shape, and partial-result flags.
  • Close clients: client.close() for sync and await client.close() for async, preferably with an async context manager.

Verification entry points

Use the bundled offline checks when no cluster is available:

  • python sub-skills/helpers-ingest/scripts/bulk_actions_smoke.py
  • python sub-skills/dsl-search/scripts/dsl_query_smoke.py
  • python sub-skills/esql-query-builder/scripts/esql_query_smoke.py

Read routing metadata only when the managed repo-skill router is being rebuilt; it is structured metadata, not a user workflow reference.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する