Repke is correct. The documentation should make clear that the -r option is for total rebuilds and not recommended for frequent crontab scheduling. The example.crontab entry does correctly show -b -a -z. <br><br>-- <br>
Joe Atzberger<br>LibLime - Open Source Library Solutions<br>
<br><br><div class="gmail_quote">On Mon, May 18, 2009 at 5:42 PM, Repke de Vries <span dir="ltr"><<a href="mailto:repke@xs4all.nl">repke@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
dear Nicole, dear Zahid<br>
<br>
(my remarks also relate to "how to run zebra deamon" from earlier<br>
today where Nicole added the same advice):<br>
<br>
with an ordinary Koha installation everything is set but as per<br>
Nicole's advice needs the rebuild-zebra (see the FAQ she points to)<br>
on a regular basis to bring the wheels in motion.<br>
What rebuild-zebra does is taking a copy of all the new or changed<br>
bibliographic or authority records in your Koha database and have<br>
them indexed by Zebra for searching. The moment the index is done,<br>
you can search. Rebuild-zebra also checks if records were deleted<br>
and removes them from the index.<br>
<br>
HOWEVER: there must be a mistake in the FAQ because the parameter -r<br>
is *not* correct for hourly or every minute automatic running (this<br>
is what a cronjob does) of rebuild-zebra.<br>
It should be -z. And -a is for re-indexing authority records and -b<br>
for the biblio records. So: -a -b -z<br>
This is what happens with -z: rebuild-zebra *first* checks in a<br>
special table in your Koha database (called: zebraqueque) which<br>
records were added, changed or deleted and then only copies / notices<br>
these and re-indexes.<br>
This is what happens with -r: the index is "reset" and *all* your<br>
records are copied from the Koha database for building a complete new<br>
index: could be thousands and thousands of them.<br>
Imagine you start this "-r" from scratch every minute in an<br>
automated way: bad news for your Koha performance.<br>
<br>
Correct me if I am wrong but this what we found out the hard way.<br>
<br>
Yours, Repke de Vries<br>
<br>
<br>
<br>
Op 18-mei-2009, om 13:15 heeft Nicole Engard het volgende geschreven:<br>
<div><div></div><div class="h5"><br>
> This may help: <a href="http://koha.org/documentation/faq/why-dont-i-see-new-" target="_blank">http://koha.org/documentation/faq/why-dont-i-see-new-</a><br>
> search-results<br>
><br>
> If not - then I'll have to leave it to the experts to help you.<br>
><br>
> ---<br>
><br>
> Nicole C. Engard<br>
> Open Source Evangelist, LibLime<br>
> (888) Koha ILS (564-2457) ext. 714<br>
> <a href="mailto:nce@liblime.com">nce@liblime.com</a><br>
> AIM/Y!/Skype: nengard<br>
><br>
> <a href="http://liblime.com" target="_blank">http://liblime.com</a><br>
> <a href="http://blogs.liblime.com/open-sesame/" target="_blank">http://blogs.liblime.com/open-sesame/</a><br>
><br>
><br>
><br>
> On Thu, May 14, 2009 at 2:03 AM, zahidiqbal_isb<br>
> <<a href="mailto:zahidiqbal_isb@yahoo.com">zahidiqbal_isb@yahoo.com</a>> wrote:<br>
>><br>
>> my network administrator have installed koha3 on debian.<br>
>><br>
>> i have added some marc records manually.<br>
>> when i search book in opac it display "No Result found"<br>
>> i have search on nabble for the error, some says to enable zebra<br>
>> indexes,<br>
>> some says to run zebraqueue_daemon.pl and some says to run<br>
>> rebuild_zebra.pl.<br>
>> i am so much confused which step to perform first.<br>
>> any one knows how to enable zebra index or configure the zebra<br>
>> step by step<br>
>> .<br>
>> i am new to koha ....can any one guide me properly?<br>
>><br>
>> Regards,<br>
>> Zahid Iqbal<br>
>> AD, International Islamic University Islamabad.<br>
>><br>
>> --<br>
>> View this message in context: <a href="http://www.nabble.com/no-result-for-" target="_blank">http://www.nabble.com/no-result-for-</a><br>
>> search-books-tp23534863p23534863.html<br>
>> Sent from the Koha - Discuss mailing list archive at Nabble.com.<br>
>><br>
>> _______________________________________________<br>
>> Koha mailing list<br>
>> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
>> <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
>><br>
> _______________________________________________<br>
> Koha mailing list<br>
> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
> <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</div></div></blockquote></div><br>