[Koha-bugs] [Bug 25028] New: The not-onloan-count index is not used in ES
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 31 17:13:38 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25028
Bug ID: 25028
Summary: The not-onloan-count index is not used in ES
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
The code in
Koha::SearchEngine::Elasticsearch::QueryBuilder::_fix_limit_special_cases only
sets onloan:false on the query if the availability limit is passed.
This is not (a) matching the Zebra behaviour and (b) it should be using the
not-onloan-count index (which is configured) but as the indexer is feeded with
the output from GerMarcBiblio as-is, it wouldn't include 999$x as the
rebuild_zebra.pl counter part does, using the RecordProcessor filters.
Looking at rebuild_zebra.pl and the fact that ES doesn't use the
EmbedSeeFromHeadings filter either, probably more bugs should be filled.
I'm possibly missing some more magic on the QueryParser code that could deal
with this things in a different way (than Zebra). But the availability one
looks plain wrong so worth filing this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list