Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 137
    • Issues 137
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #361

Closed
Open
Opened Jan 17, 2022 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

[Branch dev-bdd][NgramsTable] Scores

Please use both dev-bdd branches on the backend and the frontend side (the bug should be in dev too but it will ease the merge)

To create your new database, execute ./devops/postgres/create as postgres user (you need to exec gargantext-init gargantext.ini after) I have just the database name (gargandb1 instead of gargandb so you will not lose your previous data; upgrading scripts are coming)

The main issue is the following: when documents are scored as Trash (just click on the "x" icon to score it in Docs Table view, near from the stars), the ngrams scores are not updated in the frontend whereas the scores are well updated in the database.

To check the scores use the following function; runCmdReplEasy $ getOccByNgramsOnlyFast' (NodeId 88) (NodeId 91) Gargantext.Database.Query.Table.Ngrams.Sources [NgramsTerm "NOT FOUND"] where first NodeId is CorpusId and second NodeId is ListId

(Be careful, for you understanding: the quality of the default map list is not good at start, you need to import more many documents, let's say 1000)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
critical
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#361