[Koha] Curious searching problem with zebra

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Sat Dec 18 07:08:26 NZDT 2010


Le 17/12/2010 18:17, Chris Cormack a écrit :
> On 17 December 2010 23:46, LAURENT Henri-Damien
> <henridamien.laurent at biblibre.com> wrote:
>> Le 16/12/2010 23:47, Chris Cormack a écrit :
>>> * Chris Cormack (chrisc at catalyst.net.nz) wrote:
>>>>
>>>> Could you please go to bugs.koha-community.org and file a bug for this
>>>> with as much detail as you can manage. And someone will get onto fixing
>>>> it.
>>>>
>>>> Chris
>>>
>>> And responding to myself, I see the problem in the error logs
>>>
>>> [Fri Dec 17 11:42:19 2010] [error] [client 65.9.90.174] [Fri Dec 17
>>> 11:42:19 2010] opac-search.pl: WARNING: query problem with
>>> kw,wrdl,rtrn=and simple  ZOOM error 10014 "CCL parsing error" (addinfo:
>>> "Search word expected") from diag-set 'ZOOM' at
>>> /home/chris/git/koha.git/C4/Search.pm line 346., referer:
>>> http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=fast+and+simple
>>>
>>> That could go in the bug report
>>>
>>> Chris
>>
>> Hi chris
>> the answer is in the logs :
>> ccl kw,wrdl,rtrn=and simple
>> the CCL engine is analysing kw,wrdl,rtrn=nothing and simple
>> Should be kw,wrdl,rtrn="and simple"
>> My 2 cents.
>> --
> That turns it into a phrase search, wrdl is word list. The easier fix
> is to fix the and directive in ccl.properties.
> 
> I have updated the bug with that information.
> 
> Chris
> 
mmm... removing and from ccl properties would break all the crossed
searches...
say I want Title=Stories and author=Poe and pb=Penguin
Removing and from ccl.properties... would make it fail.
Hope that helps.
-- 
Henri-Damien LAURENT


More information about the Koha mailing list