]> Git — Sourcephile - gargantext.git/commit
[search] implement ts_query search
authorPrzemek Kaminski <pk@intrepidus.pl>
Wed, 15 Sep 2021 10:34:00 +0000 (12:34 +0200)
committerPrzemek Kaminski <pk@intrepidus.pl>
Wed, 15 Sep 2021 10:34:00 +0000 (12:34 +0200)
commit29ee19725ac50a79b9d657e771c829314e0845d0
tree153fdde5134baaa8ef6a7ccf013294405d9f1f11
parent0cc7bfc34143320bdf88860fb46a0cedc7702304
[search] implement ts_query search

This has couple of drawbacks:
- we use postgres-simple and a raw sql query, opaleye would be better
I guess
- there is a hack for empty query, this should be replaced by
removing the WHERE clause in this case
devops/postgres/schema.sql
src/Gargantext/Database/Admin/Trigger/Nodes.hs
src/Gargantext/Database/Query/Facet.hs