From 65c74e852ea79bc0c08d208dbd42ae7ec344ebe2 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Thu, 18 Aug 2016 14:51:02 -0700 Subject: [PATCH] UNFINISHED: fts extracted types. --- src/datomish/query/functions.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/datomish/query/functions.cljc b/src/datomish/query/functions.cljc index 141b0f3e..43bd8590 100644 --- a/src/datomish/query/functions.cljc +++ b/src/datomish/query/functions.cljc @@ -107,6 +107,8 @@ from [[fulltext-table fulltext-alias] [datom-table datom-alias]] + extracted-types {} ; TODO + wheres [[:match match-column match-value] ; The FTS match. ;; The fulltext rowid-to-datom correspondence. @@ -134,7 +136,7 @@ ;; if this is a variable rather than a placeholder. [score [0]]]))] - (cc/augment-cc cc from bindings wheres))) + (cc/augment-cc cc from bindings extracted-types wheres))) (def sql-functions ;; Future: versions of this that uses snippet() or matchinfo().