2d9c221abc
Currently the --where parameter only allow to specify a condition on fields in the biblioitems table. For some needs it would be great to specify a condition on the field in the items table. The use case is the following: you want to reindex biblios with items modified since a specific timestamp. Test plan: 1/ Pick an item randomly in your catalogue 2/ Edit it and save 3/ Note that the items.timestamp has been set to today but not the biblioitems.timestamp 4/ launch rebuild_zebra without the new parameter perl misc/migration_tools/rebuild_zebra.pl -b -v --where "timestamp >= XXX" where XXX is the today date (e.g. "2014-06-05 00:00:00"). Note that the biblio has not been indexed. 5/ launch rebuild_zebra using the new parameter: perl misc/migration_tools/rebuild_zebra.pl -b -v -t items --where "timestamp >= XXX" Note the biblio has been indexed. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
22_to_30 | ||
build_oai_sets.pl | ||
buildCOUNTRY.pl | ||
buildEDITORS.pl | ||
buildLANG.pl | ||
bulkmarcimport.pl | ||
checkNonIndexedBiblios.pl | ||
create_analytical_rel.pl | ||
fix_onloan.pl | ||
import_lexile.pl | ||
koha-svc.pl | ||
merge_authority.pl | ||
rebuild_zebra.pl | ||
rebuild_zebra_sliced.sh | ||
remove_unused_authorities.pl | ||
switch_marc21_series_info.pl | ||
upgradeitems.pl |