Closed sdebodt closed 8 months ago
Dependency on LibreCat database. To be revisited later.
Note to self: use ES internal field _score
to sort on
@nicolasfranck is this something we can do now?
@mietcls it's doable, but it requires
contributor.ngram
and contributor.phrase_ngram
contain contributor names, and are now used during search. Why not a common field for ngrams (and that contains names and titles)? We already have a common field all
that now contains titles and contributor names only. It would mean though that we cannot distinguish between "match on title" and "match on contributor" when it comes to sorting. But I guess scoring should be very low for ngrams anyway?Plato politeia
). I've tried this in the past, and saw that people where confused on why they got results. The more fields you add, the greater the confusion becomesClosing this since it fits into a bigger search question.
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
Expected behavior I expect to be able to search with part of words as well as complete words.
Screenshots part of word results:
complete word results: