Use correct view for fulltext+non-fulltext.

This commit is contained in:
Richard Newman 2016-08-05 16:29:21 -07:00
parent 3f882ebdaa
commit 1a54cec1ba
2 changed files with 4 additions and 4 deletions

View file

@ -45,8 +45,8 @@
(defrecord
DatomsSource
[table ; Typically :datoms.
fulltext-table ; Typically :fulltext_values
fulltext-view ; Typically :fulltext_datoms.
fulltext-table ; Typically :fulltext_values
fulltext-view ; Typically :all_datoms
columns ; e.g., [:e :a :v :tx]
;; `attribute-transform` is a function from attribute to constant value. Used to
@ -98,7 +98,7 @@
(map->DatomsSource
{:table :datoms
:fulltext-table :fulltext_values
:fulltext-view :fulltext_datoms
:fulltext-view :all_datoms
:columns [:e :a :v :tx :added]
:attribute-transform transforms/attribute-transform-string
:constant-transform transforms/constant-transform-default

View file

@ -29,7 +29,7 @@
(source/map->DatomsSource
{:table :datoms
:fulltext-table :fulltext_values
:fulltext-view :fulltext_datoms
:fulltext-view :all_datoms
:columns [:e :a :v :tx :added]
:attribute-transform transforms/attribute-transform-string
:constant-transform transforms/constant-transform-default