[Koha-bugs] [Bug 7246] rebuild_zebra.pl --limit option to allow partial re-indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 31 23:30:28 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7246

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6347|0                           |1
        is obsolete|                            |
   Attachment #6994|0                           |1
        is obsolete|                            |

--- Comment #7 from Liz Rea <wizzyrea at gmail.com> 2011-12-31 22:30:28 UTC ---
Created attachment 6995
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6995
[Signed Off] Bug 7246 - rebuild_zebra.pl --limit number for partial reindexing

Partial re-indexing is mostly useful when experimenting with Zebra
configuration and your test database is too large to be re-indexed for each
trial.

I'm submitting it after I added this twice to source code of rebuild_zebra.pl
and I hope it might prove useful to others also.

Test scenario:
1. pick koha instance for which you don't mind truncating results in search
2. re-run rebuild_zebra.pl and add --limit 1000

http://bugs.koha-community.org/show_bug.cgi?id=7246
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Verified that --limit 3 only exports 3 records of the indexing batch.

I think this is a useful option for testers and would like to see it in.
The other suggestions can be implemented at a later time.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list