ugent-library / biblio-backoffice

Apache License 2.0
7 stars 0 forks source link

search does not return partial text match results #89

Closed sdebodt closed 8 months ago

sdebodt commented 2 years ago

Describe the improvement When searching the publications using the search box, I do not get results when the search term as part of a word of e.g. the publication title. For instance, when I search with "della", I do not get the publication that has the word "DELLAs" in the title (Biblio ID: 4419918). (The result I get has the complete word "DELLA" in the abstract, so that is correct)

To Reproduce

  1. Go to 'Publications overview' page
  2. Enter search term in search box
  3. Click enter
  4. Check results

Expected behavior I expect to be able to search with part of words as well as complete words.

Screenshots part of word results: image

complete word results: image

sdebodt commented 2 years ago

Dependency on LibreCat database. To be revisited later.

nicolasfranck commented 2 years ago

Note to self: use ES internal field _score to sort on

mietcls commented 1 year ago

@nicolasfranck is this something we can do now?

nicolasfranck commented 1 year ago

@mietcls it's doable, but it requires

mietcls commented 8 months ago

Closing this since it fits into a bigger search question.