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 147
    • Issues 147
    • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #757

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

Number of Related documents mismatch accross views

Summary

When selecting a terms in a phylomemy, the documents displayed are not retrieved from search on term's group but only on the label. So there might be huge discrepancies between what is displayed in the term table and what is displayed in the phylomemy. It could also be different from what is displayed in the document view.

Steps to reproduce

Select a label in a phylomemy that is a group. The number of related terms is different from the one in the term table and could also be different from the one in the doc search.

What is the expected correct behavior?

The function that gives the number of related terms and the list of the related doc when clickinkg on the eye in the terms table view should also be used to provided the same information in the graph view and from the phylomemy view. The number of related docs should be at least as high at the simple exact search in the document view (since there are more terms in a group and the search is exact).

Relevant logs and/or screenshots

762 document for "water / eau / waters" in the terms tables :

image

Only 746 in the visualizations

image image

But 792 when searching the docs with "water" only... image

And 807 when searching "water" OR "eau" OR "waters"

image

Possible fixes

Use the same functions in the visualization to retrieve doc and number of related than in the terms table .

Be sure that "water" in doc view launch the exact match so that is there can's be more docs returned than "water OR eau OR waters"

Edited Sep 18, 2025 by david Chavalarias
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
To Do
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#757