[Koha-bugs] [Bug 28884] ElasticSearch: Question mark in title search returns no results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 19 21:18:30 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28884

--- Comment #14 from Janusz Kaczmarek <januszop at gmail.com> ---
(In reply to Nick Clemens from comment #13)
> If you change or add a title index with 245(ab) then the "hack" does work.
> In fact, it's probably a good idea because any quoted 'full' title search
> including a subtitle will fail otherwise

Thank you for this comment.  Yes, reformulating the search field definition in
mappings would be of some help (but which search field? 'title' for sure - into
245(ahbnpc) at least - but will it solve all issues?).  

But it would not solve the problem universally.  For instance, having the title
in the record: "$a Will libraries survive? : $b the future of public libraries"
and querying: "Will libraries survive? future of public libraries" (without
'the' in this case, but in general: missing any element from inside the
recorded element) will still give the user no results.  And this is not just
for teasing--often the author taken from another data source would be
transcribed differently in 245 $c (like omitting 'by' for instance).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list