https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41051
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|25.05 |Main Assignee|[email protected] |[email protected] |ity.org | Severity|enhancement |normal Component|Staff interface |Searching --- Comment #6 from David Nind <[email protected]> --- I was going to submit a patch to update the system preference description, as I can confirm that the example and system preference works with Elasticsearch. However, I can't get the example and system preference to work with Zebra! Using Zebra (using KTD): 1. Edit three records, so that they have these terms in the title: 1.1 Record 1: flang 1.2 Record 2: flange 1.3 Record 3: fang 2. Search for flang with the different options for QueryFuzzy: 2.1 Don't try: should return records 1 and 2 - it does! 2.2 Try: should return all three records, however it doesn't - it only returns records 1 and 2 (even after a re-index) Does anyone have a better example of a fuzzy search that works with both Zebra and Elasticsearch, or does this indicate that something isn't working as it should for Zebra? If it is the later, then it is a different problem to solve and way beyond my level of expertise to fix! Draft commit message with test plan and updated system preference description ============================================================================= Bug 41051: Update QueryFuzzy system preference description This updates the description for the QueryFuzzy system preference to make it clear that it works for both Zebra and Elasticsearch engines. The current description implies that it only works with Zebra. Test plan: 1. Start up KTD normally, using Zebra as the search engine (the default): ktd up 2. Edit three records, so that they have these terms in the title: 2.1 Record 1: flang 2.2 Record 2: flange 2.3 Record 3: fang 3. Search for flang with the different options for QueryFuzzy: 3.1 Don't try: should return records 1 and 2 3.2 Try: should return all three records 4. Shut down KTD and start up with Elasticsearch: ktd --search-engine es7 up 5. Repeat step 2. 6. Search for flang with the different options for QueryFuzzy: 3.1 Don't try: should only return records 1 and 2 3.2 Try: should only return records 1 and 2 7. Search for flang~ with the different options for QueryFuzzy: 3.1 Don't try: should only return record 1 3.2 Try: should return all three records (plus other records as well) 8. Check the updated wording for the QueryFuzzy system preference and confirm that it is clear and makes sense: 8.1 Current description: [Don't try|Try] to match similarly spelled words in a search. (For example, a search for flang would also match flange and fang; Currently only affects Zebra searches. Any Elasticsearch term can be made fuzzy by adding a ~ directly after the term.) 8.2 Updated description: [Don't try|Try] to match similarly spelled words in a search (for example, a search for flang would also match flange and fang). Zebra searches are fuzzy by default. If using Elasticsearch, add ~ after the search term, for example: flang~. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
