[Bug 24895] New: CCL searching with phr modifier doesn't work
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Bug ID: 24895 Summary: CCL searching with phr modifier doesn't work Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org To test: - enable DumpSearchQueryTemplate so you can easily check the contents of your query - enter a CCL search of ti,phr:batman - confirm the query gets processed as just ti:batman -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Andrew, have you tried with more than one word? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|CCL searching with phr |Elasticsearch CCL searching |modifier doesn't work |with phr modifier doesn't | |work QA Contact|testopia@bugs.koha-communit | |y.org | Component|Searching |Searching - Elasticsearch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I just realized this was filed for Elasticsearch. For Zebra, it seems all good: 'query_cgi' => 'q=ccl=ti%2Cphr%3Astreet', 'querystring' => 'ti,phr:street', 'search_query' => '(rk=( ti,phr="street")) ', I think for Elasticsearch you are correct, it doesn't look like phrase is always used. It appears to work when Title, phrase from advanced search is used, but not when you enter the ccl = is ccl understood by Elasticsearch at all? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 --- Comment #3 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Oh, and I'm sorry I completely missed your earlier question. Yes, CCL works in Elastic broadly. This isn't a huge deal, since Elastic lets you use quotation marks. So ti:"Batman Returns" does that ti,phr:Batman Returns fails to do. But it'd still be good to maintain some continuity for longtime Zebra users. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- Koha/SearchEngine/Elasticsearch/QueryBuilder.pm : _convert_index_strings_freeform 781 This is similar to L<_convert_index_strings>, however it'll search out the 782 things to change within the string. So it can handle strings such as 783 C<(su:foo) AND (su:bar)>, converting the C<su> appropriately. 784 785 If there is something of the form "su,complete-subfield" or something, the 786 second part is stripped off as we can't yet handle that. Making it work 787 will have to wait for a real query parser. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=27307 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 Lari Taskula <lari.taskula@hypernova.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lari.taskula@hypernova.fi -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #5 from David Cook <dcook@prosentient.com.au> --- 'ti:batman adventures' also doesn't seem to work. You have to do 'ti:"batman adventures"' but that's also basically the same thing as 'ti,phr:"batman adventures"' We've started using Elasticsearch more, and it looks like we're going to encounter some growing pains... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- Seems to me like the whole of advanced search is a mess with Elastic but... I guess I'll see... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24895 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30745 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org