https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21357
Julian Maurice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #32 from Julian Maurice <[email protected]> --- I think that enabling french analyzer (or parts of french analyzer) by default is not the best solution. Sure it will work with french catalogs, but what will happen when one want to add support for another language (or, for the weird people above, 350 other languages! :)) ? I think a better solution is to use multi-fields with multiple analyzers, as suggested here : https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html#_multi_fields_with_multiple_analyzers The idea is to have multiple "subfields" for each field, one subfield per language. For instance: - `title` will be language agnostic - `title.lang_en` will use an english analyzer - `title.lang_fr` will use a french analyzer When searching, Koha can search in all these fields, and the query will be analyzed by all analyzers. I've been testing this idea this week, and I made a small patch that I will submit here. It is only a proof of concept for now, but I hope it will help -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
