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 161
    • Issues 161
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • 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
  • #415

Closed
Open
Opened Oct 09, 2024 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

Document Search

Summary

Document Search (Node Docs) does not give the expected result.

Steps to reproduce

Search for "soy" and for "sauce" after here:

https://dev.sub.gargantext.org/#/share/NodeTexts/188476

What is the current bug behavior?

  • search for "soy" gives no result
  • search for "sauce" gives 42 results and one can check "soy sauce" in data

What is the expected correct behavior?

  • search for "soy" should give exact documents matching with "soy" ("sauce sauce" included).

Relevant logs and/or screenshots

To reproduce it locally you can import data.

Inside Database, ts_vector column (search) shows it is ‘soy’:106 ‘sp’:70 ‘specif’:92 ‘storag’:95 ‘streptomyc’:69 ‘studi’:2 ‘thick’:15,26,60 ‘thick-film’:14,25,59 ‘use’🈸

But ts_vector is not used: https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blob/dev/src/Gargantext/Database/Query/Facet.hs#L201-227

Possible fixes

  • why the ilike search is not working, fixing it ?
  • if not possible, why not using results of ts_vector too (at first quick fix).

Then we could think about another service (see irc logs written by @cgenie )

Assignee
Assign to
Epic 0.0.7
Milestone
Epic 0.0.7
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#415