Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
1870d596
Commit
1870d596
authored
Nov 10, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-wikidata
parents
468179ec
dd48a064
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
3 deletions
+38
-3
removeUnusedDocuments.sql
devops/postgres/tools/removeUnusedDocuments.sql
+14
-0
removeUnusedNgrams.sql
devops/postgres/tools/removeUnusedNgrams.sql
+21
-0
package.yaml
package.yaml
+1
-1
stack.yaml
stack.yaml
+2
-2
No files found.
devops/postgres/tools/removeUnusedDocuments.sql
0 → 100644
View file @
1870d596
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
;
devops/postgres/tools/removeUnusedNgrams.sql
0 → 100644
View file @
1870d596
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
;
package.yaml
View file @
1870d596
name
:
gargantext
version
:
'
0.0.4.7'
version
:
'
0.0.4.7
.1
'
synopsis
:
Search, map, share
description
:
Please see README.md
category
:
Data
...
...
stack.yaml
View file @
1870d596
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment