[Bug 41859] New: Authority search autocomplete results not consistent with search results
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Bug ID: 41859 Summary: Authority search autocomplete results not consistent with search results Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: MARC Authority data support Assignee: januszop@gmail.com Reporter: januszop@gmail.com QA Contact: testopia@bugs.koha-community.org When cataloguing and using authority plugin, there is auto complete feature. But hints it produces are not consistent with search results made with the same operator. E.g. (with standard KTD test data set) typing 'reusability' in 'Search main heading'/'Search all headings'/'Search entire record' gives no hints but one result ("Computer software Reusability.") It does not seem logical. This is because standard search operator is set to 'contains' and the hardcoded operator for autocompletion is set to 'start'. At the same time, in Elasticsearch, the subdivisions are always included as part of indexed string. In Zebra, it also true (Heading and Match indices) except for 'Search entire record' which uses index 'Any'. The expected behavior would be to have it consistent. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 --- Comment #1 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 193254 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193254&action=edit Bug 41859: Authority search autocomplete results not consistent with search results When cataloging and using authority plugin, there is auto complete feature. But hints it produces are not consistent with search results made with the same operator. E.g. (with standard KTD test data set) typing 'reusability' in 'Search main heading'/'Search all headings'/'Search entire record' gives no hints but one result ("Computer software Reusability.") It does not seem logical. Test plan: ========== 1. Have a standard KTD installation. 2. Start cataloging. Open authority plugin for any controlled field (e.g. 100). Start typing 'Peter' (in any input field) with the intention to find a person with the first name Peter (observe that search type is set to 'contains'). You will get no hints, despite of the existence of some Peters in the authority file. 3. Press Search button. You will have a few results containing 'Peter'. 4. This is not what we expect. We expect that the hints are consistent with the search results. 5. Apply the patch ; clear the browser cache. 6. Repeat 2. You should get the hints now. 7. Change the search type to 'starts with'. Start typing 'Peter' - no hints now. Start typing e.g. davi... - the are a few hints from surnames. Sponsored-by: Ignatianum University in Cracow -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Sponsorship status|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41860 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41860 [Bug 41860] With zebra, authority search plugin gives no result in some cases -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #193254|0 |1 is obsolete| | --- Comment #2 from Roman Dolny <roman.dolny@jezuici.pl> --- Created attachment 193271 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193271&action=edit Bug 41859: Authority search autocomplete results not consistent with search results When cataloging and using authority plugin, there is auto complete feature. But hints it produces are not consistent with search results made with the same operator. E.g. (with standard KTD test data set) typing 'reusability' in 'Search main heading'/'Search all headings'/'Search entire record' gives no hints but one result ("Computer software Reusability.") It does not seem logical. Test plan: ========== 1. Have a standard KTD installation. 2. Start cataloging. Open authority plugin for any controlled field (e.g. 100). Start typing 'Peter' (in any input field) with the intention to find a person with the first name Peter (observe that search type is set to 'contains'). You will get no hints, despite of the existence of some Peters in the authority file. 3. Press Search button. You will have a few results containing 'Peter'. 4. This is not what we expect. We expect that the hints are consistent with the search results. 5. Apply the patch ; clear the browser cache. 6. Repeat 2. You should get the hints now. 7. Change the search type to 'starts with'. Start typing 'Peter' - no hints now. Start typing e.g. davi... - the are a few hints from surnames. Sponsored-by: Ignatianum University in Cracow Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Comma delimited| |Ignatianum University in list of Sponsors| |Cracow QA Contact|testopia@bugs.koha-communit |baptiste.wojtkowski@biblibr |y.org |e.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #193271|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 --- Comment #3 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Created attachment 197005 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197005&action=edit Bug 41859: Authority search autocomplete results not consistent with search results When cataloging and using authority plugin, there is auto complete feature. But hints it produces are not consistent with search results made with the same operator. E.g. (with standard KTD test data set) typing 'reusability' in 'Search main heading'/'Search all headings'/'Search entire record' gives no hints but one result ("Computer software Reusability.") It does not seem logical. Test plan: ========== 1. Have a standard KTD installation. 2. Start cataloging. Open authority plugin for any controlled field (e.g. 100). Start typing 'Peter' (in any input field) with the intention to find a person with the first name Peter (observe that search type is set to 'contains'). You will get no hints, despite of the existence of some Peters in the authority file. 3. Press Search button. You will have a few results containing 'Peter'. 4. This is not what we expect. We expect that the hints are consistent with the search results. 5. Apply the patch ; clear the browser cache. 6. Repeat 2. You should get the hints now. 7. Change the search type to 'starts with'. Start typing 'Peter' - no hints now. Start typing e.g. davi... - the are a few hints from surnames. Sponsored-by: Ignatianum University in Cracow Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.05.00 |26.05.00,25.11.05 released in| | Status|Pushed to main |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41859 --- Comment #5 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org