[SOLVED] Searching for a word returns the whole library
Thank you very much, Henri-Damien, your patch worked. The search now returns correct values (not extensive testing). To recap the whole issue if somebody should run into the same problem. koha-3.00.05 is installed from a source tarball on ubuntu server karmic. 34 records are added by importing using z39.50 server and marc files. All records contain entries in russian. Performing a search with a specific keyword on the catalogue returns the whole catalogue (all 34 entries w/o exception). Tweaking the search options in the administration section does not help. Applying http://git.biblibre.com/cgi-bin/gitweb.cgi?p=koha;a=commit;h=b4068c1da33de36... is suggested. yaz-icu is installed from the indexdata repository. icu.xml is altered on line 22 to be <icu_chain locale="ru-RU"> (I don't know if this had any effect, was fr_FR before). default.idx is copied to: /etc/koha/zebradb/etc/ /usr/share/idzebra-2.0/tab/ icu.xml is copied to: /etc/koha/zebradb/etc/ Using root the rebuild_zebra.pl script is run first with -a and then with -b (I don't know if this was necessary). Server restarted. Search works as intended. Best regards Michail On 22 January 2010 19:05, LAURENT Henri-Damien < henridamien.laurent@biblibre.com> wrote:
Agnes Rivers-Moore a écrit :
Turn off QueryFuzzy in the Searching preferences - it is really way too
fuzzy. Agnes
He He Agnes. Well, I think you are quite right. But there is also a thing you should consider : use icu instead of chr files for zebra. you may want to take a look at : http://git.biblibre.com/cgi-bin/gitweb.cgi?p=koha;a=commit;h=b4068c1da33de36... to see how to tweak your installation in order to setup yaz-icu. You would have to install yaz-icu package from indexdata repository. Hope that helps. -- Henri-Damien LAURENT
Michail Golubjev wrote:
Hi everybody!
We are a small russian church in Copenhagen planning to organize our small library using Koha.
I have already set up Koha on Ubuntu Server Karmic and started testing it and learning using my own home books as a testing material.
I am mainly importing records with the help of z39.50 servers. In particular from Russian State Library directly from inside Koha and using sigla.ru <http://sigla.ru> importing marc records downloaded as files.
Now I have stumbled into a problem which I can't find a solution to in the documents and mailing list.
I have added a number of books, but when I search for a specific keyword, fx. иоанн, the search returns ALL records.
I would like to request your input on this problem, if any further information is needed, please tell me right away.
Best regards Michail ------------------------------------------------------------------------
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha ------------------------------------------------------------------------
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
BTW, I strongly suggest that this issue should be mentioned in the INSTALL readme. On 23 January 2010 22:55, Michail Golubjev <xopkop@gmail.com> wrote:
Thank you very much, Henri-Damien, your patch worked. The search now returns correct values (not extensive testing).
To recap the whole issue if somebody should run into the same problem.
koha-3.00.05 is installed from a source tarball on ubuntu server karmic.
34 records are added by importing using z39.50 server and marc files.
All records contain entries in russian.
Performing a search with a specific keyword on the catalogue returns the whole catalogue (all 34 entries w/o exception).
Tweaking the search options in the administration section does not help.
Applying http://git.biblibre.com/cgi-bin/gitweb.cgi?p=koha;a=commit;h=b4068c1da33de36... is suggested.
yaz-icu is installed from the indexdata repository.
icu.xml is altered on line 22 to be <icu_chain locale="ru-RU"> (I don't know if this had any effect, was fr_FR before).
default.idx is copied to:
/etc/koha/zebradb/etc/ /usr/share/idzebra-2.0/tab/
icu.xml is copied to:
/etc/koha/zebradb/etc/
Using root the rebuild_zebra.pl script is run first with -a and then with -b (I don't know if this was necessary).
Server restarted.
Search works as intended.
Best regards Michail
On 22 January 2010 19:05, LAURENT Henri-Damien < henridamien.laurent@biblibre.com> wrote:
Agnes Rivers-Moore a écrit :
Turn off QueryFuzzy in the Searching preferences - it is really way too
fuzzy. Agnes
He He Agnes. Well, I think you are quite right. But there is also a thing you should consider : use icu instead of chr files for zebra. you may want to take a look at : http://git.biblibre.com/cgi-bin/gitweb.cgi?p=koha;a=commit;h=b4068c1da33de36... to see how to tweak your installation in order to setup yaz-icu. You would have to install yaz-icu package from indexdata repository. Hope that helps. -- Henri-Damien LAURENT
Michail Golubjev wrote:
Hi everybody!
We are a small russian church in Copenhagen planning to organize our small library using Koha.
I have already set up Koha on Ubuntu Server Karmic and started testing it and learning using my own home books as a testing material.
I am mainly importing records with the help of z39.50 servers. In particular from Russian State Library directly from inside Koha and using sigla.ru <http://sigla.ru> importing marc records downloaded as files.
Now I have stumbled into a problem which I can't find a solution to in the documents and mailing list.
I have added a number of books, but when I search for a specific keyword, fx. иоанн, the search returns ALL records.
I would like to request your input on this problem, if any further information is needed, please tell me right away.
Best regards Michail ------------------------------------------------------------------------
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
------------------------------------------------------------------------
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
Michail Golubjev a écrit :
BTW, I strongly suggest that this issue should be mentioned in the INSTALL readme.
Well, in fact, I think that yaz-icu could/should be default install.... :D ppl, please tell what you think. The only issue with that would be if zebra was used to get facets out of queries since facets would not be words but ICU chains. But otherwise, research with this yaz-icu is working great and with all kinds of scripts. -- Henri-Damien LAURENT BibLibre
I would support this idea as an option, provided clear instructions for customizing the icu chains or if there were a way to generate the appropriate files based on the locale of the server. John -----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of LAURENT Henri-Damien Sent: Sunday, January 24, 2010 1:10 PM To: Michail Golubjev Cc: Koha Mailing List Subject: [Koha] Using yaz-icu as default installation ? [was : Re:Searching for a word returns the whole library] Michail Golubjev a écrit :
BTW, I strongly suggest that this issue should be mentioned in the INSTALL readme.
Well, in fact, I think that yaz-icu could/should be default install.... :D ppl, please tell what you think. The only issue with that would be if zebra was used to get facets out of queries since facets would not be words but ICU chains. But otherwise, research with this yaz-icu is working great and with all kinds of scripts. -- Henri-Damien LAURENT BibLibre _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha ______________________________________________________________________ This inbound email has been scanned for malicious software and transmitted safely to you using Webroot Email Security. ______________________________________________________________________ Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System. ______________________________________________________________________ Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. This email has been scanned using Webroot Email Security. ______________________________________________________________________
participants (3)
-
Chadwick, John, DCA -
LAURENT Henri-Damien -
Michail Golubjev