Commit 1870d596 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch 'dev' into dev-wikidata

parents 468179ec dd48a064
WITH repeated AS
( select nn.node2_id AS id, count(*) AS c
FROM nodes_nodes nn
GROUP BY nn.node2_id
)
DELETE FROM nodes n
USING repeated r
WHERE
n.id = r.id
AND r.c <= 1
;
WITH listed AS
( select nn.ngrams_id AS id, count(*) AS c
FROM node_node_ngrams nn
GROUP BY nn.ngrams_id
)
--SELECT count(*) from listed l
-- WHERE
--l.c <= 1
DELETE FROM ngrams n
USING listed l
WHERE
n.id = l.id
AND l.c <= 1
;
name: gargantext
version: '0.0.4.7'
version: '0.0.4.7.1'
synopsis: Search, map, share
description: Please see README.md
category: Data
......
......@@ -27,8 +27,8 @@ allow-newer: true
# "$everything": -haddock
extra-deps:
- #git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
git: https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude.git
- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
#git: https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude.git
commit: 35b09629a658fc16cc9ff63e7591e58511cd98a7
#git: ssh://git@gitlab.iscpif.fr:20022/gargantext/gargantext-graph.git
- git: ssh://gitolite3@delanoe.org/gargantext-graph
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment