AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
# While action.destructive_requires_name is true (the XERJ default, and what
# this file sets), `*`, `_all` and a pattern are 400 and delete nothing.
# The opt-out (`false` restores expansion) is the HTTP test
# engine/crates/xerj-api/tests/destructive_requires_name.rs. Teardown stores
# null, not false, so the default is what the next file sees.
---
setup:
- do:
cluster.put_settings:
body:
persistent:
action.destructive_requires_name: "true"
flat_settings: true
---
teardown:
- do:
cluster.put_settings:
body:
persistent:
action.destructive_requires_name: null
flat_settings: true
---
"Delete nonexistent concrete index with wildcard expansion disallowed":
- do:
indices.delete:
index: index3
ignore_unavailable: true
---
"Wildcard and _all deletes are refused and do not delete a concrete index":
- do:
indices.create:
index: kept
- do:
catch: bad_request
indices.delete:
index: "*"
- do:
catch: bad_request
indices.delete:
index: _all
- do:
catch: bad_request
indices.delete:
index: "ke*"
- do:
indices.get:
index: kept
- is_true: kept