[Koha-devel] Zebra indexing

Tomas Cohen Arazi tomascohen at gmail.com
Thu Sep 22 19:00:14 CEST 2016


Hi

El jue., 22 sept. 2016 a las 12:01, Rodrigo Santellan (<rsantellan at gmail.com>)
escribió:

> Hi,
>
> Is there any way to show how many biblios index has zebra? Running on the
> intranet searching for an item on item search I get some results.
>

You can use a special zebra index to query all records:

# export instance=your_instance
# yaz-client unix://var/run/koha/${instance}/bibliosocket
Z> base biblios
Z> find @attr 1=_ALLRECORDS @attr 2=103 ""
Z> quit

You can then compare with your MySQL data:
# sudo koha-mysql ${instance}
> SELECT COUNT(*) FROM biblio;
> \q

Regards
-- 
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160922/c2b1510a/attachment-0001.html>


More information about the Koha-devel mailing list