Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Julien Moutinho
haskell-gargantext
Commits
c81616df
Commit
c81616df
authored
Sep 13, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] IsTex without scrolling finally
parent
a8e7e6de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
Istex.hs
src/Gargantext/Core/Text/Corpus/API/Istex.hs
+2
-1
No files found.
CHANGELOG.md
View file @
c81616df
...
...
@@ -4,6 +4,7 @@
*
[
BACK
][
FIX
]
HAL parser fix
*
[
BACK
][
UPGRADE
]
./bin/psql gargantext.ini < devops/postgres/upgrade/0.0.6.2.sql
*
[
BACK
][
ADMIN
]
upgrade script, test ok
*
[
BACK
][
FIX
][
API
]
IsTex
## Version 0.0.6.1
*
[
BACK
][
FEAT
]
Spacy Server connection for French (and others) languages
...
...
src/Gargantext/Core/Text/Corpus/API/Istex.hs
View file @
c81616df
...
...
@@ -35,7 +35,8 @@ get la q _ml = do
--printDebug "[Istex.get] calling getMetadataScrollProgress for ml" ml
-- The "scroll" expects "d/h/m/s/ms" time interval. Let's set it to "1 month"
--eDocs <- ISTEX.getMetadataScroll q ((\_n -> pack $ "1m") <$> ml) Nothing 0 --(fromIntegral <$> ml)
eDocs
<-
ISTEX
.
getMetadataScroll
(
q
<>
" abstract:*"
)
"1m"
Nothing
0
--(fromIntegral <$> ml)
--eDocs <- ISTEX.getMetadataScroll (q <> " abstract:*") "1m" Nothing 0 --(fromIntegral <$> ml)
eDocs
<-
ISTEX
.
getMetadataWith
q
(
Just
5000
)
printDebug
"[Istex.get] will print length"
(
0
::
Int
)
case
eDocs
of
Left
_
->
pure
()
...
...
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