[Koha-bugs] [Bug 13751] "Begins with" search not possible with ICU indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 25 04:54:05 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13751

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Katrin Fischer from comment #3)
> I'd be happy to help testing - just not sure how to do it.

1) Find the unix socket for your zebra database

Find "koha-conf.xml" and get the value from <listen id="biblioserver" >

e.g. "unix:/blah/blah/zebradb/bibliosocket"

2) Connect to the socket using yaz-client

"yaz-client unix:/blah/blah/zebradb/bibliosocket"

3) Select the correct database

"base biblios"

3) Run some queries

"find @attr 1=4 Pädagogik"
"find @attr 1=4 @attr 4=1 @attr 6=3 Pädagogik"

@attr 1=4 @attr 4=1 @attr 6=3 is the PQF equivalent of the "ti,ext" CCL, while
@attr 1=4 is the same as "ti".

4) Compare the results to see if they return the same results or not

--

This should show whether or not these queries are returning the same results.

If they are returning the same results, it's a bug in Zebra.

If they aren't returning the same results using yaz-client, but they are when
using Koha, then it's down to the "extra stuff" that we do to queries before
sending them off to Zebra.

In that case, you'd need to add some debugging code to see the query before it
gets sent off to Zebra. This is probably best done in search.pl or
opac-search.pl.

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


More information about the Koha-bugs mailing list