Bug 25263

Summary: Elasticsearch - Space after CCL index is removed from query and index is concatenated to term
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2020-04-23 11:12:38 UTC
To recreate:
1 - Enable ES
2 - Enable  DumpSearchQueryTemplate and  DumpTemplateVarsIntranet 
3 - Search for 'title: novel'
4 - View the page source and find 'search_query'
5 - Note the query passed is 'titlenovel'
Comment 1 Nick Clemens (kidclamp) 2020-11-04 16:07:42 UTC
This is 'fixed' by 24567

title: novel

will be searched as

title novel

I think this is appropriate as title may contain colons - if you want CCL you need to not use spaces after the colon

*** This bug has been marked as a duplicate of bug 24567 ***