[Koha] Fwd: Facets missing on fresh dev install of 3.18.3

Katrin Fischer Katrin.Fischer.83 at web.de
Wed Feb 4 08:42:12 NZDT 2015


Hi Cindy,

we figured out the problem now - it's related to the Zebra version.

I removed Indexdata's repos now and reinstalled everything. Using
2.0.44-3.1 now and facets are working!

Katrin

Am 03.02.2015 um 19:25 schrieb Cindy Murdock Ames:
> Yep, with use_zebra_facets=0 I can see author facets:
> http://imgur.com/lj7v0Uw
> 
> And thanks Katrin, I'm sorry you're having the same problem but it makes me
> feel a bit better knowing that it's not just me!
> 
> -----------------------------------------------------------
> Cindy Murdock Ames
> IT Services Director
> Meadville Public Library | CCFLS
> http://meadvillelibrary.org | http://ccfls.org
> 
> Please report tech support issues in Mantis:
> http://tracker.ccfls.org/mantis
> 
> On Tue, Feb 3, 2015 at 12:22 PM, Tomas Cohen Arazi <tomascohen at gmail.com>
> wrote:
> 
>> If you perform the same search, making sure use_zebra_facets=0, do u see
>> author facets?
>>
>> On Tue, Feb 3, 2015 at 1:12 PM, Cindy Murdock Ames <cmurdock at ccfls.org>
>> wrote:
>>
>>> Okay, here's the yaz-client output:
>>>
>>> kohaclone at koha:~$ yaz-client
>>> unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket
>>> Connecting...OK.
>>> Sent initrequest.
>>> Connection accepted by v3 target.
>>> ID     : 81
>>> Name   : Zebra Information Server/GFS/YAZ
>>> Version: 2.0.59/5.9.0 5c3d5999d1588a3963435412af22ec993b22e391
>>> Options: search present delSet triggerResourceCtrl scan sort
>>> extendedServices namedResultSets
>>> Elapsed: 0.002689
>>> Z> base biblios
>>> Z> format xml
>>> Z> elem zebra::facet::au:0:100
>>> Z> f @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3
>>> @attr 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr
>>> 9=28 @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102
>>> "mark twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr
>>> 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14
>>> @attr 2=102 "mark twain"
>>> Sent searchRequest.
>>> Received SearchResponse.
>>> Search was a success.
>>> Number of hits: 456, setno 1
>>> SearchResult-1: term=mark twain cnt=16, term=mark twain cnt=16, term=mark
>>> cnt=215, term=twain cnt=97, term=mark cnt=2018, term=twain cnt=374,
>>> term=mark cnt=5366, term=twain cnt=480, term=mark cnt=3033, term=twain
>>> cnt=478
>>> records returned: 0
>>> Elapsed: 0.020487
>>> Z> s 1+1
>>> Sent presentRequest (1+1).
>>> Records: 1
>>> Diagnostic message(s) from database:
>>>     [25] Specified element set name not valid for specified database -- v2
>>> addinfo ''
>>> nextResultSetPosition = 2
>>> Elapsed: 0.000495
>>> Z>
>>>
>>>
>>> -----------------------------------------------------------
>>> Cindy Murdock Ames
>>> IT Services Director
>>> Meadville Public Library | CCFLS
>>> http://meadvillelibrary.org | http://ccfls.org
>>>
>>> Please report tech support issues in Mantis:
>>> http://tracker.ccfls.org/mantis
>>>
>>> On Tue, Feb 3, 2015 at 11:07 AM, Cindy Murdock Ames <cmurdock at ccfls.org>
>>> wrote:
>>>
>>>> Thanks Tomas and Kyle for the clarification, sorry for the
>>>> misinterpretation.
>>>>
>>>> Here's the output from zebra when I start it manually and do a search in
>>>> the catalog:
>>>>
>>>> 11:00:43-03/02 zebrasrv(3) [session] Session - OK 3
>>>> unix:/home/kohaclone/koha-dev/var/run/zebradb/bibliosocket PID=23191
>>>> 11:00:43-03/02 zebrasrv(3) [request] Auth idPass kohaclone -
>>>> 11:00:43-03/02 zebrasrv(3) [request] Init OK - ID:81 Name:ZOOM-C/YAZ
>>>> Version:5.9.0 5c3d5999d1588a3963435412af22ec993b22e391
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01\x1C)(m(a|\xC3\xA1|\xC3\xA0|\x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C4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01\x1E)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01\x1E)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk.*)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n.*)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01l\x01\x02)(m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)rk)
>>>> 11:00:43-03/02 zebrasrv(3) [log] dict_lookup_grep:
>>>>
>>> (\x01l\x01\x02)(tw(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)(i|\xC3\xAD|\xC3\xAC|\xC3\xAE|\xE1\xBB\x8B|\xC4\xA9|\xC4\xAD|\xC4\xAF|\xC7\x90|\xC8\x89|\xC8\x8B)n)
>>>> 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=8472.0
>>>> hits=1.000000
>>>> 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=1.0 sum_tot=1141.0
>>>> hits=1.000000
>>>> 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=8472.0
>>>> hits=0.000000
>>>> 11:00:43-03/02 zebrasrv(3) [log] or op sum_cur=0.0 sum_tot=1141.0
>>>> hits=0.000000
>>>> 11:00:43-03/02 zebrasrv(3) [request] Search biblios OK 456 1 1+0 RPN
>>>> @attrset Bib-1 @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr
>>>> 9=32 @attr 2=102 "mark twain" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28
>>>> @attr 2=102 "mark twain" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102
>>> "mark
>>>> twain" @attr 1=4 @attr 4=6 @attr 9=24 @attr 2=102 "mark twain" @attr 4=6
>>>> @attr 5=1 @attr 9=14 @attr 2=102 "mark? twain? " @attr 4=6 @attr 9=14
>>> @attr
>>>> 2=102 "mark twain"
>>>> 11:00:43-03/02 zebrasrv(3) [log]
>>>> /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml dom
>>> filter:
>>>> loading config file
>>>> /home/kohaclone/koha-dev/etc/zebradb/biblios/etc/dom-config.xml
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 2+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 3+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 4+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 5+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 6+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 7+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 8+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 9+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 10+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 11+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 12+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 13+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 14+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 15+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 16+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 17+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 18+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 19+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 20+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:43-03/02 zebrasrv(3) [request] Present OK -   1 1+1
>>>> 11:00:44-03/02 zebrasrv(3) [session] Connection closed by client
>>>> 11:00:44-03/02 zebrasrv(3) [warn] ir_session (exception)
>>>>
>>>> I don't see anything there mentioning facets.  Stay tuned for the
>>>> yaz-client test...
>>>>
>>>> Cindy
>>>>
>>>>
>>>> -----------------------------------------------------------
>>>> Cindy Murdock Ames
>>>> IT Services Director
>>>> Meadville Public Library | CCFLS
>>>> http://meadvillelibrary.org | http://ccfls.org
>>>>
>>>> Please report tech support issues in Mantis:
>>>> http://tracker.ccfls.org/mantis
>>>>
>>>> On Tue, Feb 3, 2015 at 10:48 AM, Kyle Hall <kyle.m.hall at gmail.com>
>>> wrote:
>>>>
>>>>> On Tue, Feb 3, 2015 at 10:12 AM, Cindy Murdock Ames <
>>> cmurdock at ccfls.org>
>>>>> wrote:
>>>>>
>>>>>> Hi everybody,
>>>>>>
>>>>>> To answer a bunch of questions:
>>>>>>
>>>>>> Yes, setting <use_zebra_facets> to 0 (and restarting memcached in my
>>>>>> case)
>>>>>> does bring the facets back.  As far as I know doing that reverts
>>> facets
>>>>>> to
>>>>>> the old system that uses grs1.  I would prefer to be able to use dom
>>> as
>>>>>> grs1 is being deprecated, from what I've read.  This server isn't
>>> being
>>>>>> used in production yet (but hopefully soon) so I would rather be able
>>> to
>>>>>> use the zebra facets.
>>>>>>
>>>>>
>>>>> This isn't quite accurate. The old facet system isn't dependent on grs
>>> vs
>>>>> dom. What it does is generate the facets by reading X records of the
>>> search
>>>>> results ( not just the results displayed to the searcher ). From those
>>> it
>>>>> creates the facets. Unless this code is planned to be obsoleted (
>>> which I
>>>>> am unaware of ), using zebra facets is not required. However, the
>>> benefit
>>>>> of zebra facets is that they are more accurate, and create the facets
>>> on
>>>>> the entire result set, rather than a portion of the results, and I
>>> imagine
>>>>> it's also faster as well.
>>>>>
>>>>> Kyle
>>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Koha mailing list  http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>>
>>
>> --
>> Tomás Cohen Arazi
>> Prosecretaría de Informática
>> Universidad Nacional de Córdoba
>> ✆ +54 351 5353750 ext 13168
>> GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F
>>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list