[Koha-bugs] [Bug 21872] Elasticsearch indexing faster by making it multi-threaded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 23 09:49:19 CET 2018


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

Ere Maijala <ere.maijala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion

--- Comment #13 from Ere Maijala <ere.maijala at helsinki.fi> ---
David, is there a compelling reason to do it with a predefined record range? I
find it a bit complicated, and it doesn't currently work the same way for
authorities. 

I've just attached an implementation along the lines I described earlier. It
can be used e.g. like this:

echo -n "1,2,3" | xargs -d "," -I{} -P 3 perl
misc/search_tools/rebuild_elastic_search.pl -v -b --slice={},3

This allows one to index the records in parallel without prior knowledge of the
available record id's and is fairly simple in implementation.

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


More information about the Koha-bugs mailing list