Skip to content
Back to skills

Opensearch Schema Review

ASecurity

Review OpenSearch 3.5 index mappings/schemas. Check the dynamic policy, text/keyword, multi-field, index/doc_values, _source/derived source, nested cost, knn_vector fields (dimension/ space_type/engine/method/mode), and the Korean nori analyzer. Use when designing/modifying a mapping or reviewing an index schema. Grounds findings in a KB based on the official OpenSearch docs.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 19, 2026
ai-agents

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 19, 2026

npx -y skills add ch4570/vulpora --skill opensearch-schema-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opensearch Schema Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opensearch Schema Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ch4570-opensearch-schema-review/badge)](https://www.skillsdirectory.com/skills/ch4570-opensearch-schema-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opensearch-schema-review
description: >-
  Review OpenSearch 3.5 index mappings/schemas. Check the dynamic policy, text/keyword, multi-field,
  index/doc_values, _source/derived source, nested cost, knn_vector fields (dimension/
  space_type/engine/method/mode), and the Korean nori analyzer. Use when designing/modifying a mapping
  or reviewing an index schema. Grounds findings in a KB based on the official OpenSearch docs.
---

# OpenSearch Schema/Mapping Review (Schema Review)

The grounding principles are in `reference/principles.md`. For facts, prefer `reference/kb/` (the official docs).

## Review order (proceed in this order)
1. **What index does this index?** — Identify the domain, language (Korean?), time-series nature, and scale (N).
2. **Mapping in general** — Check the review hooks in `reference/kb/field-types.md` · `reference/kb/dynamic-mapping-risks.md`.
3. **Analyzers** — Check `reference/kb/analyzers-tokenizers.md` (search vs index analyzer, normalizer, nori). **If the nori grep returns 0 hits, state "not applicable"**.
4. **Vector fields** — Check `reference/kb/knn-vector-field.md` (dimension/space_type/engine/mode consistency, immutability).
5. **Templates** — `reference/kb/index-templates.md`. Along with the severity, provide a fix (mapping JSON diff) + a zero-downtime reindex/alias strategy.

## Quick checklist
- [ ] Is `dynamic` set to `strict`/`false` on production indexes (to prevent mapping explosion)?
- [ ] Is sorting/aggregation/exact on `keyword` and full-text search on `text`? Are unused fields `index:false`/`doc_values:false`?
- [ ] Does the `knn_vector` `dimension` match the model output, and is the `space_type` consistent with normalization?
- [ ] Is the `engine` faiss/lucene (**migrate if nmslib**)? Are the core fields explicit in the mapping (to prevent dynamic inference)?
- [ ] Are large vectors duplicated in `_source` → derived source (beware that nested/copy_to are unsupported)?
- [ ] (Korean) Is nori configured with `decompound_mode`, a user dictionary, parts of speech, and a search-time `synonym_graph`?

## KB (read and cite first)
From `reference/kb/INDEX.md`, read the following, check against the "review hooks", and cite via the `source` URL:
- `reference/kb/field-types.md` · `reference/kb/analyzers-tokenizers.md` · `reference/kb/knn-vector-field.md` · `reference/kb/index-templates.md` · `reference/kb/dynamic-mapping-risks.md`

## Deliverable
For each finding: problem → violated principle (principles.md §)/KB source → mapping diff → verification (`_mapping`/`_analyze`). Because mappings are immutable, accompany any change with a zero-downtime reindex/alias strategy.

Files in this skill

  • SKILL.md2.6 KB
  • reference/kb/INDEX.md1.6 KB
  • reference/kb/analyzers-tokenizers.md3.2 KB
  • reference/kb/dynamic-mapping-risks.md2.7 KB
  • reference/kb/field-types.md3.3 KB
  • reference/kb/index-templates.md2.4 KB
  • reference/kb/knn-vector-field.md2.8 KB
  • reference/principles.md4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.