Skip to content
Back to skills

Opensearch Knowledge Patch

ASecurity

OpenSearch

  • 25 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 5, 2026
ai-agentsrustjavasqlnodeexpressrailsapibackendsecurity

Works with

  • terminal
  • cli
  • api
  • mcp

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill opensearch-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opensearch Knowledge Patch?

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

Security grade badge for Opensearch Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-opensearch-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-opensearch-knowledge-patch-nevaberry-plugins)

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-knowledge-patch
description: OpenSearch
version: "3.10.1"
license: MIT
metadata:
  author: Nevaberry
---


# OpenSearch Knowledge Patch

Load this skill when upgrading OpenSearch or working on its search, agents,
query languages, security, ingestion, storage, or operational integrations.
Use the topic references for complete guidance and the version-specific
context behind the quick reference below.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and core](references/upgrades-and-core.md) | Upgrade prerequisites, distributions, Java clients, plugin APIs, mappings, analysis, request limits, snapshots, remote storage, tiering, pull-based ingestion |
| [Vector, hybrid, and relevance](references/vector-hybrid-and-relevance.md) | Vector engines and compression, GPU builds, k-NN retrieval, hybrid pipelines, semantic and sparse search, relevance evaluation, star-tree, Learning to Rank |
| [PPL, SQL, and transport](references/ppl-sql-and-transport.md) | Query compatibility, Calcite, PPL commands and expressions, SQL, analytics engine, gRPC, HTTP, Arrow Flight |
| [Agents, ML, and flows](references/agents-ml-and-flows.md) | Models, connectors, inference, agent tools and memory, MCP, streaming, Flow Framework, AI Search Flows, Assistant, Launchpad |
| [Security and multitenancy](references/security-and-multitenancy.md) | Authentication, TLS, authorization, system indexes, resource sharing, tenant metadata, audit logging, FIPS, Security Analytics |
| [Operations, observability, and alerting](references/operations-observability-and-alerting.md) | Cluster controls, Workload Management, Query Insights, anomaly detection, forecasting, alerts, scheduling, ISM, replication, Dashboards |

## Upgrade and deprecation quick reference

### Server, indexes, and clients

- Before upgrading to 3.0, reindex all indexes created before OpenSearch 2.x,
  including system indexes. OpenSearch 3.0 requires Java 21 or later.
- Remove `compatibility.override_main_response_version` before that upgrade.
  Remove `mmap.extensions`, `index.store.hybrid.mmap.extensions`,
  `thread_pool.test.max_queue_size`, and `thread_pool.test.min_queue_size`
  from configurations for 3.0; drop `transport-nio` from plugin installation.
- Before upgrading to 3.0, assign `warm` to nodes hosting searchable snapshot
  shards: searchable snapshot support moves from `search` to `warm`.
- Bulk document IDs are limited to 512 bytes in 3.0. Remove deprecated
  `batch_size` from `/_bulk` calls.
- The 3.0 default similarity changes from `LegacyBM25Similarity` to
  `BM25Similarity`; recheck score thresholds when upgrading.
- Java client transports move to Apache HttpClient and HttpCore 5.x in 3.0.
  Server plugins using the internal client need updated imports such as
  `import org.opensearch.transport.client.Client;`.
- `RestHighLevelClient` is deprecated in 3.9.0. Use `opensearch-java` for Java
  integrations. Extensions using Jackson 2.x directly should declare their
  own dependencies after core removes its Jackson 2.x dependencies.
- OpenSearch 3.10.0 removes experimental Views; deployments using it must
  migrate those workloads before upgrading. It also drops macOS x64 archives.

### SQL, Dashboards, and plugin compatibility

- OpenSearch 3.0 removes SQL `DELETE`, `plugins.sql.delete.enabled`, and the
  OpenSearch Query DSL response format. SQL scroll API usage is deprecated.
  SQL pagination defaults to Point in Time; `plugins.sql.pagination.api`
  is removed. Use `async-query-core` for Spark connectivity after the legacy
  Spark Connector module's deprecation.
- Before upgrading to 3.0, migrate notebooks in `.opensearch-observability`
  to the `.kibana`-backed format introduced in 2.17.
- Dashboards 3.0 removes Discover DataGrid and its `newExperience` table
  option. Extensions must remove `CssDistFilename`,
  `HttpFetchOptions.withLongNumerals`, and the bundled `@elastic/filesaver`.
- In 3.0, switch `wlm/query_group` to `wlm/workload_group`, read
  `workloadGroupID` instead of `queryGroupID`, and use the
  `wlm.workload_group` cluster-setting prefix.
- Update agent definitions to `ListIndexTool`: 3.0 removes `CatIndexTool`.
  The index-listing tool uses `/_list/indices` for discovery.
- In 3.8.0, core and Learning to Rank search templates no longer resolve
  Mustache partial includes. Inline the content of required partials.

### Vector and security migration

- In 3.0, put `m` and `ef_construction` in the vector field's HNSW method
  parameters and `space_type` in the vector mapping. Their legacy index
  settings and the global k-NN plugin enable setting are removed.
- Creation of new NMSLIB k-NN indexes is blocked in 3.0; choose another engine.
  Vector derived source is production-ready for Faiss, Lucene, and NMSLIB in
  3.0; enabling it requires `index.knn` to be `true` in 3.1.
- In 2.19.0, `text_embedding` stops resolving `_ingest._value` in `field_map`.
  Map the nested input path directly to its embedding field.
- In 3.0, replace Security `whitelist` settings with `allowlist` equivalents.
  The OpenSSL provider and direct REST access to system indexes are removed.
  Roles calling `/_cat/shards` need `cluster:monitor/shards`.
- Security 3.8.0 removes the default `own_index` role mapping; grant the role
  explicitly where needed. System indexes marked with
  `UnrestrictedSystemIndexDescriptor` allow read access.

## Vector and hybrid search quick reference

### Mapping, indexing, and retrieval

- Set `index.knn` at index creation. It cannot change later or be overridden
  or removed during snapshot restore. A mapping using `model_id` inherits
  its trained dimension and rejects a separate `dimension`.
- Starting in 2.18.0, omitting the engine selects Faiss. With
  `space_type: "cosinesimil"`, indexing normalizes vectors to unit length,
  so retrieved values can differ from input. For self-normalized vectors,
  use `space_type: "innerproduct"` for equivalent similarity ranking.
- Faiss and Lucene support 32x scalar quantization for approximate and exact
  search in 3.6.0. Faiss defaults to one-bit scalar quantization for `32x`;
  Lucene supports one-bit BBQ Flat storage. Remote builds support one-bit
  scalar quantization in 3.7.0.
- GPU vector builds are production-ready in 3.1; per-index
  `index.knn.remote_index_build.enabled` defaults to `true`. A terminal
  remote build error fails the build instead of triggering a CPU rebuild
  in 3.2.0.
- From 3.7.0, retrieve float, byte, or binary vectors on Lucene and Faiss at
  any compression level without reindexing using
  `{"_source": false, "docvalue_fields": ["embedding"]}` for a field named
  `embedding`. Returned vector values are base64-encoded by default.
- In 3.8.0, vector ingestion accepts base64 strings alongside JSON arrays.
  Memory Optimized Search falls back to exact search when Lucene exhausts
  its search budget.

### Hybrid requests and score inspection

- Set `pagination_depth` on `hybrid` and keep it fixed between pages while
  changing `from`. Place the `hybrid` clause at the top level and component
  queries under `hybrid.queries`; unsupported nesting fails validation.
- Hybrid queries cannot use `search_type=dfs_query_then_fetch` in 3.8.0.
  Use `query_then_fetch`.
- Hybrid pipelines support reciprocal rank fusion, custom subquery weights,
  z-score normalization, and lower and upper bounds for min-max normalization.
- Use top-level `collapse` for the top hit per group and `collapse.inner_hits`
  to expand returned groups. Hybrid search accepts `min_score` in 3.5.0.
- Add `hybrid_score_explanation` to the response pipeline and request
  `explain=true` to inspect score normalization and combination. Set
  `verbose_pipeline=true` to inspect each processor's transformations.
- A neural sparse query accepts an analyzer or a model ID; supplying both
  fails validation in 3.1.0. A `semantic` field with an ML model ID can use
  model metadata to create its embedding field automatically.
- `HYBRID_OPTIMIZER` can evaluate 82 variants per query, including `z_score`
  and reciprocal rank fusion with different `rank_constant` values. Select
  specific techniques to restrict an experiment.

## Agents, models, and query languages

### Agents and inference

- Agentic search is generally available in 3.3.0. `QueryPlanningTool` accepts
  aliases, wildcard index patterns, and a fallback query in 3.6.0. Set an
  embedding model ID in the agentic query translator to generate neural queries.
- Unified registration and `conversational_v2` become production-ready in
  3.7.0. Unified input accepts text, multimodal content, and conversation history.
- Agentic memory is enabled by default in 3.3.0. Use `_semantic_search` or
  `_hybrid_search` with plain text and the container's embedding model to
  query long-term memory in 3.7.0; scope retrieval by namespace, tags, or filters.
- Memory retention policies in 3.8.0 are experimental and disabled by default.
  They can delete expired sessions, long-term memories, and history by age or
  count; use `pinned` for entries that should be retained.
- MCP Streamable HTTP supports OpenSearch role-based access control and
  deprecates standalone SSE transport in 3.3.0. External MCP connectors also
  support Streamable HTTP.
- Set `ignore_failure` to `true` on `ml_inference` search processors to continue
  after a processor failure. ML connector `connection_timeout` and
  `read_timeout` default to 30 seconds in 3.6.0.
- All outbound connector paths enforce `trusted_connector_endpoints_regex`
  in 3.7.0. Model and local-regex guardrails fail closed in 3.8.0.

### PPL, SQL, and transport

- Calcite is enabled by default for PPL in 3.0. `join`, `lookup`, and subsearch
  features require it. Query settings use `/_plugins/_query/settings`.
- PPL and SQL date and time functions default to UTC in 3.2.0.
  Automatic V2 fallback after a failed PPL query is disabled by default then;
  3.3.0 implicitly falls back for commands unsupported by Calcite.
- In 3.6.0, set `fetch_size` to page PPL results and use
  `POST /_tasks/<task_id>/_cancel` to cancel an in-flight query.
- When `plugins.ppl.syntax.legacy.preferred=false`, `join` defaults to `max=1`.
  `lookup` accepts `OUTPUT` as an alias for `REPLACE`.
- The unified SQL path supports derived tables, window functions, joins,
  `LIMIT`, `OFFSET`, `IN`, and `EXISTS`; it rejects DML and DDL in 3.7.0.
  Use `vectorSearch()` for SQL vector search with k-NN pushdown and filtering.
- The analytics engine supports distributed joins and aggregations,
  asynchronous PPL, and index-level authorization. Use
  `/_analytics/ppl/_explain` for stage-level profiling.
- gRPC APIs reach general availability in 3.2.0. Use the corresponding
  `opensearch-protobufs` schema: 0.24.0 for 3.4.0, 1.0.0 for 3.5.0.
- Server-side HTTP/3 is experimental, opt-in, and disabled by default in
  3.5.0. Arrow Flight streaming is experimental and opt-in in 3.3.0.

## Security, storage, and operations

- Set dynamic `plugins.security.dls.write_blocked` to `true` to block all writes
  when document-level security restrictions apply.
- Set `OPENSEARCH_FIPS_MODE` to enable enforced FIPS mode independently of
  the presence of Bouncy Castle FIPS JARs. TLS certificate hot reload also
  applies to Arrow Flight and stream transports in 3.6.0.
- Set `timeout` in a workload group's `search_settings` to apply a search timeout.
  Use `override_request_values` to control precedence over explicit request
  values. Workload Management supports per-node request throttling and a
  shared cluster-wide request limit in 3.10.0.
- Query Insights filter mode shows users their own queries and those of
  users sharing a backend role; administrators retain full visibility.
  Historical `source` consumers should accept both strings and JSON objects.
- Pull-based ingestion is a public API in 3.6.0, with a warmup phase before
  serving searches. It can read object-store sources in 3.10.0.
- If a 3.8.0 S3-compatible upload fails with
  `Server side encryption specified but KMS is not configured`, set repository
  `server_side_encryption_type` to `bucket_default` to omit the encryption
  header. The default becomes `bucket_default` in 3.9.0.
- In 3.10.0, `s3.client.<name>.api_call_timeout` caps total S3 API-call duration.
  `GET /_cluster/settings/_describe` reports setting defaults, validation bounds,
  descriptions, and whether settings are dynamic, with wildcard prefix filtering.
- CAT APIs in 3.10.0 accept `limit`, reject invalid values, and can combine it
  with sorting: `GET /_cat/indices?s=docs.count:desc&limit=5`.
- OpenSearch 3.10.1 restores scripted source reads on compound segments when
  the Java agent is active.

Files in this skill

  • SKILL.md10.8 KB
  • coverage.json1.4 KB
  • references/agents-ml-and-flows.md8.2 KB
  • references/operations-observability-and-alerting.md7.7 KB
  • references/ppl-sql-and-transport.md8.6 KB
  • references/security-and-multitenancy.md6.7 KB
  • references/upgrades-and-core.md7.7 KB
  • references/vector-hybrid-and-relevance.md10.5 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.