Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

4.3 KB
Raw Blame

ES API Compatibility Test

Date: 2026-04-15T21:43:28.190932 xerj: localhost:9800 ES: 127.0.0.1:9300

Summary

Metric Count
PASSED 19
FAILED 12
Total 31
Pass rate 61.3%

Results

Test Status xerj HTTP ES HTTP Notes
GET / ✅ PASS 200 200
GET /_cluster/health ✅ PASS 200 200
GET /_cat/indices ✅ PASS 200 200
PUT index with mapping ✅ PASS 200 200
GET /{index} ✅ PASS 200 200
GET /{index}/_mapping ✅ PASS 200 200
GET /{index}/_settings ✅ PASS 200 200
GET /_count ✅ PASS 200 200
GET /{index}/_doc/{id} ✅ PASS 200 200
PUT /{index}/_doc/{id} ✅ PASS 201 201
DELETE /{index}/_doc/{id} ✅ PASS 200 200
match_all size=0 ✅ PASS 200 200
match_all size=10 ✅ PASS 200 200
term query ❌ FAIL 200 200 — check failed
match query ❌ FAIL 200 200 — check failed
range query ❌ FAIL 200 200 — check failed
bool query ❌ FAIL 200 200 — check failed
exists query ❌ FAIL 200 200 — check failed
ids query ✅ PASS 200 200
sort by count ✅ PASS 200 200
_source filtering ✅ PASS 200 200
terms agg ❌ FAIL 200 200 — check failed
stats agg ❌ FAIL 200 200 — check failed
avg agg ❌ FAIL 200 200 — check failed
min/max agg ❌ FAIL 200 200 — check failed
value_count agg ❌ FAIL 200 200 — check failed
histogram agg ❌ FAIL 200 200 — check failed
POST /_bulk ❌ FAIL 200 400 — status: xerj=200 es=400
POST /_delete_by_query ✅ PASS 200 200
POST /_aliases add ✅ PASS 200 200
GET /test_alias/_count ✅ PASS 200 200

Failures

  • term query: xerj=200 es=200 — check failed
  • match query: xerj=200 es=200 — check failed
  • range query: xerj=200 es=200 — check failed
  • bool query: xerj=200 es=200 — check failed
  • exists query: xerj=200 es=200 — check failed
  • terms agg: xerj=200 es=200 — check failed
  • stats agg: xerj=200 es=200 — check failed
  • avg agg: xerj=200 es=200 — check failed
  • min/max agg: xerj=200 es=200 — check failed
  • value_count agg: xerj=200 es=200 — check failed
  • histogram agg: xerj=200 es=200 — check failed
  • POST /_bulk: xerj=200 es=400 — status: xerj=200 es=400

Log

[21:43:26] === ES API Compatibility Test Suite ===
[21:43:26] Date: 2026-04-15T21:43:26.257653
[21:43:26] xerj: localhost:9800
[21:43:26] ES:    127.0.0.1:9300
[21:43:26] 
[21:43:26] --- Cluster APIs ---
[21:43:26]   PASS: GET /
[21:43:26]   PASS: GET /_cluster/health
[21:43:26]   PASS: GET /_cat/indices
[21:43:26] --- Index Management ---
[21:43:26]   PASS: PUT index with mapping
[21:43:26]   PASS: GET /{index}
[21:43:26]   PASS: GET /{index}/_mapping
[21:43:26]   PASS: GET /{index}/_settings
[21:43:26] --- Document CRUD ---
[21:43:26]   Seeded 100 docs to xerj: 200
[21:43:26]   Seeded 100 docs to ES: 200
[21:43:27]   PASS: GET /_count
[21:43:27]   PASS: GET /{index}/_doc/{id}
[21:43:27]   PASS: PUT /{index}/_doc/{id}
[21:43:28]   PASS: DELETE /{index}/_doc/{id}
[21:43:28] --- Search ---
[21:43:28]   PASS: match_all size=0
[21:43:28]   PASS: match_all size=10
[21:43:28]   FAIL: term query — check failed
[21:43:28]   FAIL: match query — check failed
[21:43:28]   FAIL: range query — check failed
[21:43:28]   FAIL: bool query — check failed
[21:43:28]   FAIL: exists query — check failed
[21:43:28]   PASS: ids query
[21:43:28]   PASS: sort by count
[21:43:28]   PASS: _source filtering
[21:43:28] --- Aggregations ---
[21:43:28]   FAIL: terms agg — check failed
[21:43:28]   FAIL: stats agg — check failed
[21:43:28]   FAIL: avg agg — check failed
[21:43:28]   FAIL: min/max agg — check failed
[21:43:28]   FAIL: value_count agg — check failed
[21:43:28]   FAIL: histogram agg — check failed
[21:43:28] --- Bulk API ---
[21:43:28]   FAIL: POST /_bulk — status: xerj=200 es=400
[21:43:28] --- Delete by query ---
[21:43:28]   PASS: POST /_delete_by_query
[21:43:28] --- Aliases ---
[21:43:28]   PASS: POST /_aliases add
[21:43:28]   PASS: GET /test_alias/_count