[Koha-oz] Koha-oz Digest, Vol 72, Issue 3

dcook at prosentient.com.au dcook at prosentient.com.au
Thu Jul 9 06:06:56 CEST 2020


Hi Joy and Carlos, 

I was doing some bug tracker maintenance, and I found the issue that you describe with the colon.

The problem is that  the colon in this example search query "title : subtitle" is being converted into an equal sign, so that it becomes "title = subtitle". Koha uses semicolons to separate indexes and search terms, but Zebra uses equal signs for that same purpose. 

In Koha, you might see something like this: "ti:Title" or "au:AuthorName". Koha then converts that to "ti=Title" or "au=AuthorName" for Zebra.

So when Zebra sees "title = subtitle", it generates an error and returns nothing back to Koha. That's why you don't see any search results. 

I've opened this bug report for it: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25963

Due to the way search query parsing works in Koha, this is a difficult issue to fix, but it is an issue.

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Online: 02 8005 0595

-----Original Message-----
Date: Tue, 7 Jul 2020 02:24:10 +0000
From: Carlos Lopez <clopez at dml.vic.edu.au>
To: Librarian <Librarian at hepatitissa.asn.au>,
	"koha-oz at lists.koha-community.org" <koha-oz at lists.koha-community.org>
Subject: Re: [Koha-oz] probs with colon in title
Message-ID:
	<MEXPR01MB179814456FDE6EF77D8C454AA2660 at MEXPR01MB1798.ausprd01.prod.outlook.com>
	
Content-Type: text/plain; charset="utf-8"

Hi Joy

We've found that searching without punctuation (and often without diacritics) is best if you can manage it. I don't know whether this is because of some setting in Koha or in the Zebra server. It can be particularly frustrating of you're copying and pasting to search!

With kind regards from the Dalton McCaughey Library Team

Carlos Lopez

Dalton McCaughey Library | 29 College Crescent, Parkville, VICTORIA 3052
Ph: 03 9340 8888 ext.1 | library at dml.vic.edu.au<mailto:library at dml.vic.edu.au> | library.dmlibrary.org.au

From: Koha-oz <koha-oz-bounces at lists.koha-community.org> On Behalf Of Librarian
Sent: Friday, 3 July 2020 4:24 PM
To: koha-oz at lists.koha-community.org
Subject: [Koha-oz] probs with colon in title

Hi all,
Have found that searches for titles (inc those with subtitles) that contain a colon will always return zero results. Does anyone have any advice about this?


Joy Sims
Librarian,
Hepatitis SA.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-oz/attachments/20200709/906a3b87/attachment.sig>


More information about the Koha-oz mailing list