Menu

JetBrains Xodus

Our friends over at Avisi have released support for Xodus as a KV store for Crux’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

  • Clojure

  • EDN

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

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

Parameters

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