Liking cljdoc? Tell your friends :D

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
{
  "crux/index-store": {
    "kv-store": {
      "crux/module": "avisi.crux.xodus/->kv-store",
      "db-dir": "/tmp/xodus"
    }
  },

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

Can you improve this documentation? These fine people already did:
Dan Mason & James Henderson
Edit on GitHub

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

× close