Hello koha version 19.11.19 We have bibliographic records with identificator from another system in field 035. This field is indexed as Other-control-number. This identifcators contains numbers and letters When I try to search in koha "as00g2oe", koha returns 30 records, only one has identificator "as00g2oe" in 035. Other records contains only "as00g2o" (without e at the end). It looks like oe is equal with e koha returns records with identificators: as00g2o1, as00g2o2,...,as00g2oe,as00g2of, ...as00g2oz When I try to search "as00g2fe", koha returns only one record. But searching "as00g2f" returns 30 records and every record contains "as00g2f". The issue is only with oe at the end of string What's wrong with koha index? thanks Viliam
Hi! On Wed, Jul 19, 2023 at 10:13:05AM +0200, Viliam Polonec wrote:
The issue is only with oe at the end of string
Not sure if this helps anything, but maybe some part of your search infrastructure (Zebra or ElasticSearch?) interprets the "oe" as German Umlaut ö? And this then causes either the search string or the data in the index to interpreted the wrong way? Greetings, domm -- Thomas Klausner domm https://domm.plix.at Just another ( Perl | Postgres | Bicycle | Food | Photo | Vinyl ) Hacker Building a mushroom-delimited Perl vegetable skewer [ 2023-07-02 21:51 > https://domm.plix.at/perl/2023_07_skewer.html ] TIL: There is no recording of "Für Elise" played on the Didgeridoo available (or at least I cannot find it..) [ 2023-07-17 20:32 > https://domm.plix.at/microblog.html ]
maybe I found it /etc/koha/zebradb/etc/word-phrase-utf.chr equivalent Œœöø(oe) Viliam ------------------------------------------------------------------------ Dňa 19.07.2023 o 11:13 Thomas Klausner napísal(a):
Hi!
On Wed, Jul 19, 2023 at 10:13:05AM +0200, Viliam Polonec wrote:
The issue is only with oe at the end of string Not sure if this helps anything, but maybe some part of your search infrastructure (Zebra or ElasticSearch?) interprets the "oe" as German Umlaut ö? And this then causes either the search string or the data in the index to interpreted the wrong way?
Greetings, domm
Hi, yes, that's the line and the reason are the German umlauts. If you don't need that to work, you can juse remove the (oe). Hope this helps, Katrin On 19.07.23 11:41, Viliam Polonec wrote:
maybe I found it
/etc/koha/zebradb/etc/word-phrase-utf.chr
equivalent Œœöø(oe)
Viliam
------------------------------------------------------------------------
Dňa 19.07.2023 o 11:13 Thomas Klausner napísal(a):
Hi!
The issue is only with oe at the end of string Not sure if this helps anything, but maybe some part of your search infrastructure (Zebra or ElasticSearch?) interprets the "oe" as German Umlaut ö? And this then causes either the search string or the data in
On Wed, Jul 19, 2023 at 10:13:05AM +0200, Viliam Polonec wrote: the index to interpreted the wrong way?
Greetings, domm
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks Katrin I will test it, I found another two lines map Œ (oe) map œ (oe) Do you think that theese two lines can also be the reason? Viliam ------------------------------------------------------------------------ Dňa 19.07.2023 o 22:32 Katrin Fischer napísal(a):
Hi,
yes, that's the line and the reason are the German umlauts. If you don't need that to work, you can juse remove the (oe).
Hope this helps,
Katrin
On 19.07.23 11:41, Viliam Polonec wrote:
maybe I found it
/etc/koha/zebradb/etc/word-phrase-utf.chr
equivalent Œœöø(oe)
Viliam
------------------------------------------------------------------------
Dňa 19.07.2023 o 11:13 Thomas Klausner napísal(a):
Hi!
The issue is only with oe at the end of string Not sure if this helps anything, but maybe some part of your search infrastructure (Zebra or ElasticSearch?) interprets the "oe" as German Umlaut ö? And this then causes either the search string or the data in
On Wed, Jul 19, 2023 at 10:13:05AM +0200, Viliam Polonec wrote: the index to interpreted the wrong way?
Greetings, domm
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi I change this equivalent Œœöø(oe) to this equivalent Œœöø in /etc/koha/zebradb/etc/word-phrase-utf.chr and it works no reindex needed thanks Viliam ------------------------------------------------------------------------ Dňa 20.07.2023 o 14:20 Viliam Polonec napísal(a):
Thanks Katrin
I will test it,
I found another two lines
map Œ (oe) map œ (oe)
Do you think that theese two lines can also be the reason?
Viliam
------------------------------------------------------------------------
Dňa 19.07.2023 o 22:32 Katrin Fischer napísal(a):
Hi,
yes, that's the line and the reason are the German umlauts. If you don't need that to work, you can juse remove the (oe).
Hope this helps,
Katrin
On 19.07.23 11:41, Viliam Polonec wrote:
maybe I found it
/etc/koha/zebradb/etc/word-phrase-utf.chr
equivalent Œœöø(oe)
Viliam
------------------------------------------------------------------------
Dňa 19.07.2023 o 11:13 Thomas Klausner napísal(a):
Hi!
The issue is only with oe at the end of string Not sure if this helps anything, but maybe some part of your search infrastructure (Zebra or ElasticSearch?) interprets the "oe" as German Umlaut ö? And this then causes either the search string or the data in
On Wed, Jul 19, 2023 at 10:13:05AM +0200, Viliam Polonec wrote: the index to interpreted the wrong way?
Greetings, domm
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Katrin Fischer -
Thomas Klausner -
Viliam Polonec