[Koha] Unable to use zebra facets on OPAC in 16.11

Chris Cormack chrisc at catalyst.net.nz
Wed Jan 4 09:08:06 NZDT 2017


* MAKAUTCL WB (makautcl at gmail.com) wrote:
>Whoa! that was it! I did a dummy check-out and now availability works! so
>where do I read up more on this behaviour? I mean which perl file?
>Search.pm?
>
>thanks so much Chris!

Nope, it's zebra doing it, not the perl code.

The index doesn't exist, so the query fails, the index just has to exist
(which it does as soon as something is circulated, it will continue to
work if you return that item, the index doesn't go away, unless you do a
full reindex and have not circulated anything ever)
In practice people don't run into this much at all. However the fix is
just in the ccl.properties file

/etc/koha/zebradb/ccl.properties

change line 1032

From
onloan 1=8024
to
onloan 1=8024 14=1

And it will work even if you library has never done a circulation
operation

Chris

>
>On Wed, Jan 4, 2017 at 1:00 AM, Chris Cormack <chrisc at catalyst.net.nz>
>wrote:
>
>> * MAKAUTCL WB (makautcl at gmail.com) wrote:
>>
>>> Hi Tomas,
>>>
>>> I just tried something out something I read in the koha-devel archives -
>>> http://www.mail-archive.com/koha-devel@lists.koha-community.
>>> org/msg08132.html
>>>
>>> since i noticed that my zebra as actually 2.0.62, so here is what I did
>>> after my last email, I commented out the line <retrieval syntax="xml"
>>> name="zebra::*" /> in /etc/koha/zebradb/retrieval-info-bib-dom.xml
>>> and /etc/koha/marc21-retrieval-info-bib-dom.xml and restarted zebra and
>>> also changed  <use_zebra_facets>0</use_zebra_facets> to
>>> <use_zebra_facets>1</use_zebra_facets> in my koha-conf.xml
>>>
>>> And now my facets seem to work!!! However, the LIMIT by availability
>>> option
>>> still gives me no results (even with available copies)
>>>
>>> so how do I troubleshoot this further? I guess I''ve come as far as my
>>> idea
>>> about Koha serves me... the rest as they say is "above my pay grade" =)
>>>
>>> so I could sure use some help :D
>>>
>>> regards
>>>
>>>
>> Hi
>> Have you circulated an item yet? Try issuing and returning one, and then
>> see if the limit by availability works.
>> If so, you have bumped into a bug that I found last week, I will put a
>> patch up soon, but currently you have to have (at least since you last
>> did a full reindex) circulated an item.
>>
>> Chris
>>
>>>
>>>
>>> On Tue, Jan 3, 2017 at 10:36 PM, Tomas Cohen Arazi <tomascohen at gmail.com>
>>> wrote:
>>>
>>> What does About > System information say?
>>>>
>>>> El mar., 3 de ene. de 2017 2:00 PM, MAKAUTCL WB <makautcl at gmail.com>
>>>> escribió:
>>>>
>>>> Hi List,
>>>>>
>>>>> I'm facing a problem, I can't seem to get the facets showing in the
>>>>> search
>>>>> results. The only option I can do now is turn off zebra facets by
>>>>> setting
>>>>>  <use_zebra_facets>0</use_zebra_facets>, in which case I get the facets
>>>>> from Koha. However, then I can't get any result in case I try to limit
>>>>> by
>>>>> availability.
>>>>>
>>>>> My system setup is as below:
>>>>>
>>>>> Debian 8.6
>>>>>
>>>>> Koha 16.11 - deb package installation
>>>>>
>>>>> IndexData Zebra Package: libidzebra-2.0-0
>>>>> Source: idzebra
>>>>> Version: 2.0.59-1
>>>>>
>>>>> I read up https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11
>>>>> 232
>>>>> but that shows it as FIXED.
>>>>>
>>>>> So how do I troubleshoot this one?
>>>>>
>>>>> thanks in anticipation
>>>>>
>>>>> -Makaut
>>>>> _______________________________________________
>>>>> Koha mailing list  http://koha-community.org
>>>>> Koha at lists.katipo.co.nz
>>>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>>>
>>>>> --
>>>> Tomás Cohen Arazi
>>>> Theke Solutions (https://theke.io <http://theke.io/>)
>>>> ✆ +54 9351 3513384
>>>> GPG: B2F3C15F
>>>>
>>>> _______________________________________________
>>> Koha mailing list  http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>> --
>> Chris Cormack
>> Catalyst IT Ltd.
>> +64 4 803 2238
>> PO Box 11-053, Manners St, Wellington 6142, New Zealand
>>
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha at lists.katipo.co.nz
>https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20170104/f453316c/attachment.sig>


More information about the Koha mailing list