rebuild_zebra_idx.pl
Hi world, i've seen a fix on rebuil_zebra_idx.pl In fact, last week I was about to remove it, as it's replaced by rebuild_zebra.pl that does much more things : 1- create zebra files *if needed* (ie : they don't exist already) 2- export datas biblio & authority (or only one) 3- run zebraidx 4- keep the export for a future use. where rebuild_zebra_idx does only the export for biblios. Could you (1st for mason, who patched rebuild_zebra_idx) give me your opinion on this ? -- Paul POULAIN, consultant senior BibLibre SARL Expert en Logiciels Libres pour l'info-doc Tel : 04 91 31 45 19
Hi, On 11/12/07, Paul POULAIN <paul.poulain@free.fr> wrote:
i've seen a fix on rebuil_zebra_idx.pl
In fact, last week I was about to remove it, as it's replaced by rebuild_zebra.pl that does much more things : 1- create zebra files *if needed* (ie : they don't exist already) 2- export datas biblio & authority (or only one) 3- run zebraidx 4- keep the export for a future use.
where rebuild_zebra_idx does only the export for biblios.
After looking at the two, I would agree that rebuild_zebra_idx is redundant, but only after rebuild_zebra is tweaked so that it has an option to *only* export the bibs or authorities. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457
On 11/12/07, Galen Charlton <galen.charlton@liblime.com> wrote:
Hi,
On 11/12/07, Paul POULAIN <paul.poulain@free.fr> wrote:
i've seen a fix on rebuil_zebra_idx.pl
In fact, last week I was about to remove it, as it's replaced by rebuild_zebra.pl that does much more things : 1- create zebra files *if needed* (ie : they don't exist already) 2- export datas biblio & authority (or only one) 3- run zebraidx 4- keep the export for a future use.
where rebuild_zebra_idx does only the export for biblios.
After looking at the two, I would agree that rebuild_zebra_idx is redundant, but only after rebuild_zebra is tweaked so that it has an option to *only* export the bibs or authorities. I guess from my POV, I don't know what the purpose of rebuild_zebra.idx is. It seems like a helper script for a non-standard installation, not the kind of utility you'd normally run. The Makefile installer should be all we need to install the zebra components of Koha.
I'm in favor of a light-weight script that does export/index of records like we have in dev_week with update_items.pl. It's always useful to be able to just re-index the whole dataset. That's what I thought rebuild_zerba_idx.pl was the start of. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
On 2007/11/13, at 8:15 AM, Joshua Ferraro wrote:
On 11/12/07, Galen Charlton <galen.charlton@liblime.com> wrote:
Hi,
On 11/12/07, Paul POULAIN <paul.poulain@free.fr> wrote:
i've seen a fix on rebuil_zebra_idx.pl
In fact, last week I was about to remove it, as it's replaced by rebuild_zebra.pl that does much more things : 1- create zebra files *if needed* (ie : they don't exist already) 2- export datas biblio & authority (or only one) 3- run zebraidx 4- keep the export for a future use.
where rebuild_zebra_idx does only the export for biblios.
After looking at the two, I would agree that rebuild_zebra_idx is redundant, but only after rebuild_zebra is tweaked so that it has an option to *only* export the bibs or authorities. I guess from my POV, I don't know what the purpose of rebuild_zebra.idx is. It seems like a helper script for a non-standard installation, not the kind of utility you'd normally run. The Makefile installer should be all we need to install the zebra components of Koha.
I'm in favor of a light-weight script that does export/index of records like we have in dev_week with update_items.pl. It's always useful to be able to just re-index the whole dataset. That's what I thought rebuild_zerba_idx.pl was the start of.
I think it doesnt hurt to leave rebuild_zebra_idx.pl in the repo, for instructional purposes alone perhaps put a comment in rebuild_zebra_idx.pl suggesting people look, and use rebuild_zebra.pl for most cases sound ok?
participants (4)
-
Galen Charlton -
Joshua Ferraro -
Mason James -
Paul POULAIN