Liking cljdoc? Tell your friends :D

Xodus

Our friends over at Avisi have released support for JetBrains Xodus as a KV store for XTDB’s indices.

For more details, see the crux-xodus GitHub repo.

Project Dependency

deps.edn
avisi-apps/crux-xodus {:mvn/version "1.0.0"}

Using Xodus

Replace the implementation of the kv-store with avisi.crux.xodus/->kv-store

JSON
{
  "xtdb/index-store": {
    "kv-store": {
      "xtdb/module": "avisi.crux.xodus/->kv-store",
      "db-dir": "/tmp/xodus"
    }
  },

  "xtdb/document-store": { ... },
  "xtdb/tx-log": { ... }
}
Clojure
{:xtdb/index-store {:kv-store {:xtdb/module 'avisi.crux.xodus/->kv-store
                               :db-dir (io/file "/tmp/xodus")}}
 :xtdb/document-store {...}
 :xtdb/tx-log {...}}
EDN
{:xtdb/index-store {:kv-store {:xtdb/module avisi.crux.xodus/->kv-store
                               :db-dir "/tmp/xodus"}}
 :xtdb/document-store {...}
 :xtdb/tx-log {...}}

Parameters

  • db-dir (required, string/File/Path): path to Xodus data directory

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close