This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-03
Channels
- # announcements (4)
- # aws (19)
- # babashka (55)
- # beginners (40)
- # biff (4)
- # calva (9)
- # cherry (3)
- # cider (8)
- # clj-kondo (26)
- # clj-yaml (3)
- # clojure (92)
- # clojure-austin (14)
- # clojure-europe (21)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-portugal (3)
- # clojure-uk (2)
- # clojurescript (48)
- # conjure (19)
- # datalevin (14)
- # docker (13)
- # emacs (3)
- # fulcro (21)
- # gratitude (14)
- # improve-getting-started (1)
- # introduce-yourself (2)
- # joker (4)
- # juxt (2)
- # lsp (12)
- # malli (5)
- # meander (17)
- # off-topic (13)
- # re-frame (7)
- # scittle (2)
- # test-check (2)
ExceptionInfo Document does not exist. {:doc-ref #datalevin/Datom [1 :link/description ""]}
datalevin.search.SearchEngine (search.clj:347)
datalevin.storage.Store (storage.cljc:355)
datalevin.db/local-transact-tx-data (db.cljc:1007)
datalevin.db/local-transact-tx-data (db.cljc:781)
datalevin.db/transact-tx-data (db.cljc:1041)
datalevin.db/transact-tx-data (db.cljc:1021)
datalevin.core/with (core.cljc:282)
datalevin.core/with (core.cljc:276)
datalevin.core/with (core.cljc:279)
datalevin.core/with (core.cljc:276)
datalevin.core/-transact!/fn--18754/fn--18755 (core.cljc:533)
clojure.lang.Atom.swap (Atom.java:37)
i will fix it, but as a general suggestion, there’s no need to store empty string in a Datalog store
Thanks! I believe it is also possible to reproduce this issue with a non-empty string, but I’ll need to double-check.
All right, I think I nailed it down… the error can occur if you’ve stored an empty string in Datalevin previously, even if you’ve changed it to a non-empty string since. I changed my code to avoid inserting an empty string into a fulltext attribute (and wiped the database) and everything seems to work fine now. I can file an issue about the empty string error tomorrow.