All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
Fix issue when creating index for ndjson/ndedn
Eliminate a reflective call when serializing the database.
0.6.0 - introducing .ndnippy!
Now you can use .ndnippy as database format. It's MUCH faster to load than
.ndjson and .ndedn, meaning better query times. Particularly when querying multiple documents at once.
Also a new util namespace lets you convert from .ndjson and .ndedn to .ndnippy.
.ndnippy - like .ndedn isn't really a standard. But it probably should be. I implemented the encoding for
.ndnippy myself, it's somewhat naive, but really fast anyhow. If you have ideas on how to make it even
fast, let me know. Because version 0.6.0 introduces the .ndnippy format, it may change several times in the
future, possibly making old .ndnippy files incompatible with new versions. Now you're warned. Thankfully the
generation of new .ndnippy files is quite fast.
NB: .ndnippy isn't widely used (this is - as far as I know, the first and only use), and probably isn't a good distribution format, unless you can distribute the nd-db library with it.
NB: For small documents (like the ones in the test samples), .ndnippy files are actually bigger than their
json/edn alternatives. Even the Twitter sample .ndjson file mentioned in the README becomes bigger as
.ndnippy. With the serialization mechanism used right now, the biggest benefits are when the individual documents
are huge (i.e. 10s of KBs). We've done experiments with methods that actually makes the resulting size the same as
the input, even for small documents. But there's a huge performance impact to using that, which is counter productive.
0.4.0 - simpler and smaller!
:doc-type from db file extension (*.ndedn -> :doc-type :edn)
.ndedn|.ndjson or :doc-type :json|:edn:json if extension is unknown and :doc-type isn't setnd-db.core, and the library from luposlip/ndjson-db to com.luposlip/nd-db!.ndedn file format, where all lines are well formed EDN documents.clear-all-indices!! -> clear-all-indexes!!clear-all-indices!! and clear-index!Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |