This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-16
Channels
- # beginners (11)
- # boot (21)
- # cider (12)
- # clara (6)
- # cljs-dev (7)
- # cljsjs (1)
- # cljsrn (62)
- # clojure (137)
- # clojure-austin (5)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-russia (46)
- # clojure-spec (21)
- # clojure-uk (79)
- # clojurescript (56)
- # clr (1)
- # core-typed (1)
- # css (1)
- # cursive (3)
- # datomic (35)
- # docker (2)
- # emacs (20)
- # garden (3)
- # hoplon (8)
- # incanter (3)
- # jobs (12)
- # mount (5)
- # nginx (1)
- # off-topic (71)
- # om (8)
- # om-next (6)
- # onyx (4)
- # perun (3)
- # proton (2)
- # protorepl (5)
- # re-frame (35)
- # reagent (38)
- # ring (5)
- # ring-swagger (12)
- # rum (35)
- # spacemacs (2)
- # specter (5)
- # test-check (6)
- # yada (52)
@seantempesta yes, :tx-data of tx report queue entries gives you the raw datoms asserted/retracted in the transaction
Hi all, Im having problems with accent's in my querys with fulltext (ex: Pelé not found when search Pele). Its possible to use ASCIIFoldingFilter when search is fulltext? The api doc say "Fulltext search is constrained by several defaults (which cannot be altered)". Adding an ASCIIFoldingFilter to the Lucene Analyser is one of these constrains? ty
@lellis i think you’re out of luck; that Lucene is used for fulltext search is an implementation detail. the only api you get is the one in datalog.
@robert-stuttaford Yeah, i found some emails in our group where you clarify this! I m looking for an elasticsearch datomic integration for do these accent insensitive search. You know anything that is better? tks
somewhere inside Datomic Map transactions are converted to List form. is this conversion fn accessible?
hey guys question. I have yet another ‘tree walk’ question lol. I have a tree structure, built around say a :ent/child ref attribute. Given an entity, I want to grab children to say any depth. I can do this with the pull api’s recursive specs. But in this case I'd really just want the ids/entities in a list as opposed to the nested maps i’ll get back from pull in this case. and I also need to potentially do some filtering on them. So say, all the :ent/child matches for ?e where :ent/foo equals bar as well. Is there any way to do this in datalog?
@eoliphant You are aware of this post I where I replied to your original question about tree walking a while ago? https://groups.google.com/d/msg/datomic/_YiBRnBkeOs/0Gd-6lJmDwAJ
ah crap you did didn’t you lol. I’ve been covering a lot of groud over the past few weeks. thanks again 😉
@eoliphant Your new scenario is different in its particulars but the approach is the same: use a recursive rule
yeah and actually rules where i’m a bit weak and focusing more at the moment so this is perfect
also notice that you need to know whether you intend to filter children during or after your recursive walk
I wonder what's the story with fulltext
predicate - is it possible to specify tokenizer? If something I want to search is not in English?
@asolovyov: No, fulltext indexing in Datomic is only supported with the default Lucene tokenizer/analyzer. If you have more specific fulltext search requirements, it is recommended to run your own Lucene/Solr/... for fulltext search.
@stuartsierra I see.. eh, too bad, I just grew tired of ElasticSearch (because of unpredictable performance and convoluted queries) and thought maybe I should look elsewhere 🙂
Datomic's fulltext is just Lucene under the hood, so the end result is not much different from running Lucene yourself.
well... I do faceted search on top of that, so either I'm doing that by hands, or I should use something which does it for me - and that's ES right now. But could be Datomic, which has a little bit more predictable performance when you're just filtering by field.
also consider algolia if you can use a saas
I know this has been asked before (apologies): how can I stop the [Datomic Metrics Reporter] DEBUG datomic.process-monitor messages in the repl?
@andyparsons You need to edit logback.xml and turn down the logging level. If its set to DEBUG it's likely this was changed in the past as I believe logback.xml defaults to INFO. " <logger name="datomic" level="warn" />"
ah yes @jaret that makes sense. thanks!