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.

1.0 KB
Raw Blame
---
"Put settings merges into the stored settings":
  - do:
      cluster.put_settings:
        body:
          persistent:
            cluster.routing.allocation.enable: "all"

  - do:
      cluster.put_settings:
        body:
          persistent:
            search:
              allow_expensive_queries: "true"

  - do:
      cluster.get_settings: {}

  - match: { persistent.cluster.routing.allocation.enable: "all" }
  - match: { persistent.search.allow_expensive_queries: "true" }

  - do:
      cluster.put_settings:
        body:
          persistent:
            cluster:
              routing:
                allocation:
                  enable: null

  - do:
      cluster.get_settings: {}

  - is_false: persistent.cluster.routing.allocation.enable
  - match: { persistent.search.allow_expensive_queries: "true" }

  - do:
      cluster.put_settings:
        body:
          persistent:
            search.allow_expensive_queries: null

  - do:
      cluster.get_settings: {}

  - is_false: persistent.search.allow_expensive_queries