[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 7 11:44:49 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384

--- Comment #5 from axel Amghar <axel.amghar at biblibre.com> ---
Created attachment 89425
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89425&action=edit
Bug 20384 - Elastic rebuild script improvements - options --offset & --length

This patch add the options --offset & --length to the script:
misc/search_tools/rebuild_elastic_search.pl

To test :
- apply the patch
- verify that the script by default is working, launch :
        perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100

- launch with the option --offset
- then with the option --length
- launch with both options :
        perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --offset
1000 --length 200
- verify that the total records indexed is 200

launch perl misc/search_tools/rebuild_elastic_search.pl --man
for help

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list