[Bug 33243] New: Reindex only Biblios changed in the last x minutes in Elasticsearch (ES)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Bug ID: 33243 Summary: Reindex only Biblios changed in the last x minutes in Elasticsearch (ES) Change sponsored?: --- Product: Koha Version: 22.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: koha@trust-box.at QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz add a command line option to rebuild_elasticsearch.pl to only reindex Biblios changed in the last x minutes rebuild_elasticsearch.pl -v -b --minutes 100 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Mark Hofstetter <koha@trust-box.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |koha@trust-box.at |ity.org | Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 --- Comment #1 from Mark Hofstetter <koha@trust-box.at> --- Created attachment 148259 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148259&action=edit Bug 33243 - Reindex only Biblios changed in the last x minutes in Elasticsearch (ES) add a command line option to rebuild_elasticsearch.pl to only reindex Biblios changed in the last x minutes rebuild_elasticsearch.pl -v -b --minutes 100 Reason: we (and others) sometime encounter problem when records are created (especially without items) AND are not automatically indexed in ES To test: instance has to use elasticsearch 0. apply patch 1. create or change new record (biblio) 2. run "rebuild_elasticsearch.pl -v -b --minutes 10" 3. if nothing else "happened" on this intance in the last 10 minutes, this command should yield "1 record indexed" 4. record should be found in Web Search Sponsored-by: Wien Museum -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Mark Hofstetter <koha@trust-box.at> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=33019, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=33008 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I know this is a quick fix and workaround, but it feels a bit like a step back. We had this behavior for Zebra, tean me moved on to the Koha indexer that gave us almost immediate indexing. And with Elasticsearch we have the promise of immediate indexing. It feels like we should explore first on how to fix the issues you and others experience. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Mark Hofstetter <koha@trust-box.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff --- Comment #3 from Mark Hofstetter <koha@trust-box.at> --- Yes, at the moment it is also used as a crutch. But it's not just useful for this purpose: quite often we change records just in the database and afterwards just this records need reindexing. I hope I'll find the time soon to fix the underlying issue -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- In other scripts we use a more generic 'where' option, this allows us to use any SQL to limit. I think the same would be better here -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- A where statement might be nice, then you could use the timestamp, but also use it after SQL updates/bulk changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=29921 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Version|22.11 |master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #6 from Fridolin Somers <fridolin.somers@biblibre.com> --- A where would be great. With also tables : https://git.koha-community.org/Koha-community/Koha/src/branch/master/misc/mi... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=35345 --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Duplicate of Bug 35345 ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emmi.takkinen@koha-suomi.fi -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33243 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED CC| |lisette@bywatersolutions.co | |m Resolution|--- |DUPLICATE --- Comment #8 from Lisette Scheer <lisette@bywatersolutions.com> --- (In reply to Fridolin Somers from comment #7)
Duplicate of Bug 35345 ?
Yes, I agree. *** This bug has been marked as a duplicate of bug 35345 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org