Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 186
    • Issues 186
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • 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
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #504

Closed
Open
Opened Sep 06, 2025 by david Chavalarias@davidchavalarias
  • Report abuse
  • New issue
Report abuse New issue

List of candidate terms has weird behavior, crashes or is too small

Testing 0.0.7.4.9

Summary

When creating a corpus from scratch :

  1. There seems to be a regression in 0.0.7.4.9. some terms list do not load, other have weird behavior.

  2. In general, the list of map terms and candidate terms is quite small. It was 350 before for map, now is seem more around 270. Also the initial list of candidates it even smaller (e.g. 124 for a corpora of 6k docs) while it should be much more than the map terms, between 2 and 4k terms.

The number of terms for candidates and maps should be hard coded somewhere because this is a preference of the instance. We set 350 for mapterms which is a good start and allow the user to review them quickly ; and few hundreds for candidates which allows to search for expression and add interesting terms by batches. I will make an issue about this.

Steps to reproduce

There is an example at https://dev.sub.gargantext.org/#/share/NodeList/189358

To reproduce the same corpora, make an API search on "water" in HAL by filtering with "IMT all".

What is the current bug behavior?

  1. I have created a corpus where the candidate terms list has a weird behavior when setting the per page to 10 : it is empty on page one, has 3 results on page 4, 7 on page 3, etc. ... Test on both FF and Chrome. I also had sometime the error

"SendResponseError (ResponseBodyError (ForeignError "JSON.parse: unexpected character at line 1 column 1 of the JSON data") (rf)"

This has been reproduced by others members of the team.

  1. Map and term list are too small.

What is the expected correct behavior?

  • Lists load well with the right number of item per page.

  • There should be an initial list of 350 map terms and, let's try 2k candidates (we have to check that this is OK for most front end computers).

Relevant logs and/or screenshots

image

image

image

Edited Sep 06, 2025 by david Chavalarias
Assignee
Assign to
Stabilisation
Milestone
Stabilisation
Assign milestone
Time tracking
None
Due date
None
4
Labels
Bug To Review (review requested) high terms table
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#504