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 175
    • Issues 175
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • 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
  • #214

Closed
Open
Opened May 25, 2023 by Fabien Maniere@fmaniere
  • Report abuse
  • New issue
Report abuse New issue

[Corpus API] IsTex queries improvement (currently blocked at 9 results only)

The queries work correctly to take into account all the metadata of the ISTEX database Nevertheless, there is a problem with the loading of the results, which are blocked at the first 9 results only.

The Inist developper team thinks this may be due to the display of results in "Pagination" mode, which is not ideal for chaining the extraction of results.

The easiest way is to leave the "Pagination mode" and switch to "Scroll mode".

Here is the documentation of the "Scroll mode": https://doc.istex.fr/api/results/scroll.html

In this mode, there is no notion of a "from" or "start" page. The API returns results page by page, with a link to the next page each time. No backtracking is possible.

Therefore, instead of playing with the "from" and "size" parameters, you should use the "scroll" and "nextScrollURI" parameters.


Here is a guide (FR) with a concrete example:

IsText_API_-mode_scroll-_guide_developpement.pdf

Edited Jun 15, 2023 by delanoe
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#214