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.

822 B
Raw Blame

---
"Deprecated parameters should fail in Bulk query":

   - do:
       catch:  bad_request
       bulk:
           body: |
               { "update": { "_index": "test_index", "_type": "test_type", "_id": "test_id_1", "_version": 1 } }
               { "doc": { "f1": "v1" } }
               { "update": { "_index": "test_index", "_type": "test_type", "_id": "test_id_2", "_version": 1 } }
               { "doc": { "f1": "v2" } }

   - do:
       catch:  bad_request
       bulk:
           body: |
               { "update": { "_index": "test_index", "_type": "test_type", "_id": "test_id_1", "_routing": "test1" } }
               { "doc": { "f1": "v1" } }
               { "update": { "_index": "test_index", "_type": "test_type", "_id": "test_id_2", "_routing": "test1" } }
               { "doc": { "f1": "v2" } }