datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
magra 2020-06-18T14:05:28.392600Z

Hi!

magra 2020-06-18T14:07:57.395200Z

I need to store a sorted set of keywords. Does it make sense to store that in datahike? And what would be the idiomatic way to do so? I expect users to rarely add new keywords but more often to change the order. At the moment I am leaning towards putting the sorted set into a separate file next to the db-file.

whilo 2020-06-18T23:21:25.396800Z

@magra If you want to control the sorting order then probably the easiest thing is to store the integer indices with each element. You can then sort by them in your query results. How do you expect to retrieve the set?