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.

642 B
Raw Blame
"global agg with a terms filtered alias":
  - requires:
      cluster_features: "gte_v8.10.0"
      reason: Fixed in 8.10

  - do:
      bulk:
        refresh: true
        index: test
        body:
          - '{"index": {}}'
          - '{"name": "one"}'
          - '{"index": {}}'
          - '{"name": "two"}'
          - '{"index": {}}'
          - '{"name": "two"}'

  - do:
      indices.put_alias:
        index: test
        name: test-filtered
        body: {"filter": {"terms": {"name": [ "one" ] }}}

  - do:
      search:
        index: test-filtered
        body:
          aggs:
            all_docs:
              global: {}