[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
Fri May 10 17:15:47 CEST 2019


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

axel Amghar <axel.amghar at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89425|0                           |1
        is obsolete|                            |

--- Comment #6 from axel Amghar <axel.amghar at biblibre.com> ---
Created attachment 89559
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89559&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