This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-23
Channels
- # announcements (26)
- # babashka (8)
- # babashka-sci-dev (3)
- # beginners (93)
- # biff (44)
- # calva (1)
- # cider (7)
- # clj-kondo (13)
- # cljdoc (1)
- # clojure (121)
- # clojure-australia (2)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (1)
- # clojurescript (35)
- # conjure (1)
- # core-async (2)
- # datalevin (6)
- # datomic (28)
- # emacs (25)
- # events (1)
- # fulcro (5)
- # introduce-yourself (2)
- # jobs (8)
- # leiningen (2)
- # off-topic (13)
- # other-languages (1)
- # podcasts-discuss (1)
- # polylith (7)
- # rdf (6)
- # re-frame (1)
- # reagent (53)
- # releases (3)
- # rewrite-clj (7)
- # scittle (5)
- # shadow-cljs (63)
- # specter (1)
- # squint (5)
- # tools-build (5)
- # xtdb (7)
any tuning tips for for lucene (`text-search` by attribute) query performance, I have some slow queries, but the lucene search itself is very fast and returns only a handful of results (the other part of the query has potentially huge set of data)
it seems the planner might be confused… If I only search for the things returned by the lucene search and traverse the other stuff by reverse pull patterns, I can get the same data much faster.
I could just do a separate lucene search and pass the found ids as an :in
parameter to the other query to workaround this
Hey @U11SJ6Q0K yes this sounds like the planner getting ~confused. The other workaround is to push the lucene search clause into a subquery, which forces the desired join order (i.e. to still do everything in one big query)