I'm running koha 3.02.01 on a 64-bit openSUSE 11.3 system with zebra. I have 3 biblios for 'And the band played on', a book, a tape and a DVD. When I search for 'and the band played on', it finds nothing. When I search for 'the band played on', it finds all three. I've done a complete rebuild of the zebra index. Any ideas? -- Bob
??? do you have stop words turned on by any chance? Seems odd that it would just give up after and even if it were turned on. On Thu, Dec 16, 2010 at 1:31 AM, Bob Ewart <bob-ewart@bobsown.com> wrote:
I'm running koha 3.02.01 on a 64-bit openSUSE 11.3 system with zebra. I have 3 biblios for 'And the band played on', a book, a tape and a DVD.
When I search for 'and the band played on', it finds nothing. When I search for 'the band played on', it finds all three.
I've done a complete rebuild of the zebra index.
Any ideas?
-- Bob
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Elaine Bradtke Data Wrangler VWML English Folk Dance and Song Society | http://www.efdss.org Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY Tel +44 (0) 20 7485 2206 ext 36 -------------------------------------------------------------------------- Registered Company No. 297142 Charity Registered in England and Wales No. 305999 --------------------------------------------------------------------------- "Writing about music is like dancing about architecture" --Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
Here's an idea (whether it's worth anything is for someone else to decide): Is it possible that your MARC field 245 second indicator is 4? That would indicate skipping the first four characters in the title "and_" for filing purposes. I don't know how zebra plays with that, if at all. If zebra ignores MARC directions (as I guess is likely) does the word "and" act in its Boolean function, making the search look for " " AND "the band played on" together in the same record? And since there is no null set to coordinate with the title words, you get nothing returned. Would searching "or the band played on" retrieve the 3 records? Again, pure speculation on my part. Kurt
-----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha- bounces@lists.katipo.co.nz] On Behalf Of Bob Ewart Sent: Wednesday, December 15, 2010 8:32 PM To: koha@lists.katipo.co.nz Subject: [Koha] Curious searching problem with zebra
I'm running koha 3.02.01 on a 64-bit openSUSE 11.3 system with zebra. I have 3 biblios for 'And the band played on', a book, a tape and a DVD.
When I search for 'and the band played on', it finds nothing. When I search for 'the band played on', it finds all three.
I've done a complete rebuild of the zebra index.
Any ideas?
-- Bob
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Thanks Kurt, the 245 indicators are 0 0 on all three. I tried 'or the band played on' with no success either. I did install koha on a freshly installed openSUSE 11.3 32-bit system with no change in the results. When people say to turn stopwords off, is that 'Ignore' or 'Don't ignore'? Shouldn't make a difference, since it's not supposed to apply to zebra. I just tried to search on 'and' and got nothing with either setting of the QueryRemoveStopwords preference. At this point I'm stumped. I guess I'll just have to tell my librarians to not use the word 'and' in searches. On 12/16/2010 10:45 AM, Kurt Bodling wrote:
Here's an idea (whether it's worth anything is for someone else to decide):
Is it possible that your MARC field 245 second indicator is 4? That would indicate skipping the first four characters in the title "and_" for filing purposes. I don't know how zebra plays with that, if at all.
If zebra ignores MARC directions (as I guess is likely) does the word "and" act in its Boolean function, making the search look for " " AND "the band played on" together in the same record? And since there is no null set to coordinate with the title words, you get nothing returned. Would searching "or the band played on" retrieve the 3 records?
Again, pure speculation on my part.
Kurt
-----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha- bounces@lists.katipo.co.nz] On Behalf Of Bob Ewart Sent: Wednesday, December 15, 2010 8:32 PM To: koha@lists.katipo.co.nz Subject: [Koha] Curious searching problem with zebra
I'm running koha 3.02.01 on a 64-bit openSUSE 11.3 system with zebra. I have 3 biblios for 'And the band played on', a book, a tape and a DVD.
When I search for 'and the band played on', it finds nothing. When I search for 'the band played on', it finds all three.
I've done a complete rebuild of the zebra index.
Any ideas?
-- Bob
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Bob
* Bob Ewart (bob-ewart@bobsown.com) wrote:
Thanks Kurt,
the 245 indicators are 0 0 on all three. I tried 'or the band played on' with no success either.
I did install koha on a freshly installed openSUSE 11.3 32-bit system with no change in the results.
When people say to turn stopwords off, is that 'Ignore' or 'Don't ignore'? Shouldn't make a difference, since it's not supposed to apply to zebra.
I just tried to search on 'and' and got nothing with either setting of the QueryRemoveStopwords preference.
At this point I'm stumped. I guess I'll just have to tell my librarians to not use the word 'and' in searches.
Its not quite that bad. (still bad I'll grant you :)) Check this out http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=fast+simple http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=fast+and+simpl... http://opac.koha.workbuffer.org/cgi-bin/koha/opac-search.pl?q=and+simple So there is definitely a bug with and .. but only at the start of the phrase. There must be something in our search code that is telling zebra that that isn't part of the search but is a boolean operator instead. 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
On 12/16/2010 10:45 AM, Kurt Bodling wrote:
Here's an idea (whether it's worth anything is for someone else to decide):
Is it possible that your MARC field 245 second indicator is 4? That would indicate skipping the first four characters in the title "and_" for filing purposes. I don't know how zebra plays with that, if at all.
If zebra ignores MARC directions (as I guess is likely) does the word "and" act in its Boolean function, making the search look for " " AND "the band played on" together in the same record? And since there is no null set to coordinate with the title words, you get nothing returned. Would searching "or the band played on" retrieve the 3 records?
Again, pure speculation on my part.
Kurt
-----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha- bounces@lists.katipo.co.nz] On Behalf Of Bob Ewart Sent: Wednesday, December 15, 2010 8:32 PM To: koha@lists.katipo.co.nz Subject: [Koha] Curious searching problem with zebra
I'm running koha 3.02.01 on a 64-bit openSUSE 11.3 system with zebra. I have 3 biblios for 'And the band played on', a book, a tape and a DVD.
When I search for 'and the band played on', it finds nothing. When I search for 'the band played on', it finds all three.
I've done a complete rebuild of the zebra index.
Any ideas?
-- Bob
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Bob
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
* Chris Cormack (chrisc@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+simpl... That could go in the bug report Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Thanks Chris, It's bug 5515. I hope I included enough information. On 12/16/2010 05:47 PM, Chris Cormack wrote:
* Chris Cormack (chrisc@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+simpl...
That could go in the bug report
Chris
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Bob
Le 16/12/2010 23:47, Chris Cormack a écrit :
* Chris Cormack (chrisc@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+simpl...
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. -- Henri-Damien LAURENT
On 17 December 2010 23:46, LAURENT Henri-Damien <henridamien.laurent@biblibre.com> wrote:
Le 16/12/2010 23:47, Chris Cormack a écrit :
* Chris Cormack (chrisc@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+simpl...
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
Le 17/12/2010 18:17, Chris Cormack a écrit :
On 17 December 2010 23:46, LAURENT Henri-Damien <henridamien.laurent@biblibre.com> wrote:
Le 16/12/2010 23:47, Chris Cormack a écrit :
* Chris Cormack (chrisc@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+simpl...
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
participants (7)
-
Bob Ewart -
Chris Cormack -
Chris Cormack -
Elaine Bradtke -
Kurt Bodling -
LAURENT Henri-Damien -
Tomas Cohen Arazi