Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #574
Closed
Open
Issue created Feb 15, 2021 by Matija Obreza@mobrezaOwner

API Search

Please implement a /api/v1/search endpoint that will do a full-text ES search for top 5 hits for each of the indexed collections (accession, activitypost, faoinstitute).

The response should be a Map<String, ?> with the classname as key and the value as a Page with the top 5 search results (totalElements, etc.)

Do not use or generate a filterCode.

Extra points if the search can be made with a single call to ES.

Edited Feb 15, 2021 by Matija Obreza
Assignee
Assign to
Time tracking