Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
gargantext
crawlers
hal
Commits
f88d3caa
Commit
f88d3caa
authored
Aug 09, 2023
by
Fabien Maniere
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Corpus.hs
parent
b0aec69b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Corpus.hs
src/HAL/Doc/Corpus.hs
+2
-2
No files found.
src/HAL/Doc/Corpus.hs
View file @
f88d3caa
...
...
@@ -7,7 +7,7 @@ import Data.Aeson
import
Data.Default
import
Data.Map.Strict
qualified
as
Map
import
GHC.Generics
import
HAL.Utils
(
allLangs
,
langAbstractS
)
import
HAL.Utils
(
allLangs
,
lang
TitleS
,
lang
AbstractS
)
import
Data.LanguageCodes
(
ISO639_1
(
..
))
import
Protolude
import
Servant.API
(
ToHttpApiData
(
..
))
...
...
@@ -51,4 +51,4 @@ instance FromJSON Corpus where
pure
$
Corpus
{
..
}
instance
ToHttpApiData
Corpus
where
toUrlPiece
_
=
"docid,title_s,en_abstract_s,fr_abstract_s,submittedDate_s,source_s,authFullName_s,authOrganism_s,structId_i"
toUrlPiece
_
=
"docid,
en_title_s,fr_
title_s,en_abstract_s,fr_abstract_s,submittedDate_s,source_s,authFullName_s,authOrganism_s,structId_i"
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