[Koha-bugs] [Bug 15851] "Analytics: Show analytics" showing regardless of whether they have analytics

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 29 03:59:10 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15851

--- Comment #49 from David Cook <dcook at prosentient.com.au> ---
Ok using .yazclientrc to set the following:

1. querytype ccl2rpn
2. set_cclfile /path/to/etc/zebradb/ccl.properties

Trying the following:

1. Host-item="This is a test"
2. rcn=1000 and (bib-level=a or bib-level=b)

Both of these returned results in 0.002 seconds with 0 hits.

The search performance is interesting.

Going back to these:

1. "find e" 
2. "find the"

They're both using the "Any:w" index, but "e" takes .09 seconds to return 37500
hits while "the" takes 3.39 seconds to return 1125000 hits.

Zebra has to take the same amount of time to scan the index, so the time spent
in yaz-client isn't on Zebra finding the data. It's spent on either
Zebra/yaz-client/both processing the data.

The time taken seems to be linear/O(n) not for searching per se but rather in
terms of returning a search result. 

Now it's just unclear whether it's Zebra or yaz-client (or both) causing the
time delay. 

I might try writing a quick little Perl script to see how it fairs when using
Zoom with Zebra...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list