Use correct view for fulltext+non-fulltext.
This commit is contained in:
parent
3f882ebdaa
commit
1a54cec1ba
2 changed files with 4 additions and 4 deletions
|
@ -45,8 +45,8 @@
|
||||||
(defrecord
|
(defrecord
|
||||||
DatomsSource
|
DatomsSource
|
||||||
[table ; Typically :datoms.
|
[table ; Typically :datoms.
|
||||||
fulltext-table ; Typically :fulltext_values
|
fulltext-table ; Typically :fulltext_values
|
||||||
fulltext-view ; Typically :fulltext_datoms.
|
fulltext-view ; Typically :all_datoms
|
||||||
columns ; e.g., [:e :a :v :tx]
|
columns ; e.g., [:e :a :v :tx]
|
||||||
|
|
||||||
;; `attribute-transform` is a function from attribute to constant value. Used to
|
;; `attribute-transform` is a function from attribute to constant value. Used to
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
(map->DatomsSource
|
(map->DatomsSource
|
||||||
{:table :datoms
|
{:table :datoms
|
||||||
:fulltext-table :fulltext_values
|
:fulltext-table :fulltext_values
|
||||||
:fulltext-view :fulltext_datoms
|
:fulltext-view :all_datoms
|
||||||
:columns [:e :a :v :tx :added]
|
:columns [:e :a :v :tx :added]
|
||||||
:attribute-transform transforms/attribute-transform-string
|
:attribute-transform transforms/attribute-transform-string
|
||||||
:constant-transform transforms/constant-transform-default
|
:constant-transform transforms/constant-transform-default
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
(source/map->DatomsSource
|
(source/map->DatomsSource
|
||||||
{:table :datoms
|
{:table :datoms
|
||||||
:fulltext-table :fulltext_values
|
:fulltext-table :fulltext_values
|
||||||
:fulltext-view :fulltext_datoms
|
:fulltext-view :all_datoms
|
||||||
:columns [:e :a :v :tx :added]
|
:columns [:e :a :v :tx :added]
|
||||||
:attribute-transform transforms/attribute-transform-string
|
:attribute-transform transforms/attribute-transform-string
|
||||||
:constant-transform transforms/constant-transform-default
|
:constant-transform transforms/constant-transform-default
|
||||||
|
|
Loading…
Reference in a new issue