[Koha] ElasticsearchCrossFields enabled returns no search results on OPAC

Aleisha Amohia aleisha at catalyst.net.nz
Thu Feb 24 15:20:13 NZDT 2022


Hi all,

ElasticsearchCrossFields is a great syspref to enable if you need to
search across indexes, for example your search term includes both title
and author keywords.

We've discovered this only works on the staff client, and returns no
results when searching on the OPAC.

After some investigation, this is because the OPAC will add a
`suppress:false` to the search query, to hide records that are
suppressed in OPAC.

I'm not sure why, but this combination of suppress:false and
ElasticsearchCrossFields means no results are returned in the OPAC.

Has anyone seen this before or know a fix, or why it happens?

I've reported this bug:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30141

-- 
Aleisha Amohia (she/her)
Koha Developer

Catalyst IT - Expert Open Source Solutions
www.catalyst.net.nz

CONFIDENTIALITY NOTICE: This email is intended for the named recipients
only. It may contain privileged, confidential or copyright information.
If you are not the named recipient, any use, reliance upon, disclosure
or copying of this email or its attachments is unauthorised. If you have
received this email in error, please reply via email or call +64 4 499 2267.


More information about the Koha mailing list