[Bug 30834] New: Trigger nightly reindex with a syspref
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 Bug ID: 30834 Summary: Trigger nightly reindex with a syspref Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org Reindexing (at least with Zebra) leads to search not working for some duration of time, depending on the size of the catalogue. So often you want to do reindexing at night, when use of Koha is low. But remembering to start the indexing process before you go to bed at night is error prone. We could have a syspref called something like "DoReindexInTheMiddleOfTheNight", and a cronjob that runs "in the middle of the night", and checks the syspref. - If it has been set to "on", a reindex is triggered and the syspref is reset to "off". - If it is set to "off", nothing happens. -- 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=30834 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=22637 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 Michal Denar <black23@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |black23@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 Emmanuel Bétemps <e.betemps@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |e.betemps@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I like the idea to make this somewhat available to libraries. Would also be very interesting for Elasticsearch where the users can change indexing in the GUI. -- 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=30834 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- I don't think we'd want library users to have that kind of power. Reindexing a large collection can take a really long time. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 --- Comment #3 from Magnus Enger <magnus@libriotech.no> --- (In reply to David Cook from comment #2)
I don't think we'd want library users to have that kind of power. Reindexing a large collection can take a really long time.
Yeah, but we would at least be sure it was triggered in the middle of the night. We could perhaps also make the syspref depend on a setting in koha-conf.xml, so that it could be made unavailable to libraries. (See also bug 28990.) I was also thinking about how to make it possible to check if the reindex succeeded. One way could perhaps be to turn on verbose output, redirect to a file and then make the files viewable with the "Access files" tool. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30834 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- (In reply to Magnus Enger from comment #3)
(In reply to David Cook from comment #2)
I don't think we'd want library users to have that kind of power. Reindexing a large collection can take a really long time.
Yeah, but we would at least be sure it was triggered in the middle of the night. We could perhaps also make the syspref depend on a setting in koha-conf.xml, so that it could be made unavailable to libraries. (See also bug 28990.)
Yeah, I think it would have to be based off something in koha-conf.xml as we'd want to turn it off for our libraries. Actually, based off the original description, does this need to be something that is web accessible or is this more of a sysadmin thing? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org