https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28884
--- Comment #12 from Janusz Kaczmarek <janus...@gmail.com> --- (In reply to Katrin Fischer from comment #11) > ? and * are quite common for truncation and databases and the like, people > have been writing tutorials on Elasticsearch etc. like: > https://drive.google.com/file/d/17-YVjG6IJKeDmDCKuF7ZYvcTfzDYyxwa/view > That's also been promoted on the BywaterSolutions blog. > > So next question would be, why * and ? are handled differently... could the > behaviour of Elasticsearch removing the ending ? be changed? The fundamental differences between ? and * are: 1. * very rarely would be present in ordinary users' copy-paste queries, 2. even if, * means '0 or more characters' (like /.*/ in Perl) -- so it would not create problems -- whereas ? means _exactly_ one character (like Perlish /./) -- and therefor is quite problematic in the context we are in. Still, I would not expect from the users of the catalogue the knowledge about quite advanced, wildcarded ES queries... s/he is usually is not interested in what is in the back-end. Hence, I would prefer to prepare Koha to first "understand" a normal user instead of advanced search engines operator. And still, the basic scenario is: the user does copy-paste search and does not get the result -- which for him/her (and therefor for me) is not acceptable. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/