[Koha-bugs] [Bug 25375] Elasticsearch: Limit on available items does not work
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 2 15:28:09 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25375
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at bywatersolutions.com
--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Andrew Fuerste-Henry from comment #2)
> I'm getting an error in the Elastic rebuild:
> root at 287fd5fefa08:koha(master)$ perl
> misc/search_tools/rebuild_elasticsearch.pl -d -b
> Can't call method "items" on an undefined value at
> /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 710.
MARC21 doesn't store the biblionumber in the 001
Should probably call GetMarcFromKohaField( 'biblio.biblionumber' ) to determine
which field to use here
I don't know if calling that for all the item fields may be more performant
that fetching the biblio and iterating items as opposed to checking the MARC as
well
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list