Summary: | Elasticsearch - cannot search for titles containing a colon next to a search term using the colon | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Searching - Elasticsearch | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | cbrannon, fridolin.somers, joonas.kylmala, margaret, marjorie.barry-vila, sbcornell |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27597 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Nick Clemens (kidclamp)
2020-01-07 19:30:51 UTC
Code has changed : $term =~ s/(:+)(\s+)$lookahead/$2/g; $term =~ s/(\s+)(:+)$lookahead/$1/g; But bug looks still valid. Enable DumpSearchQueryTemplate syspref and look in HTML code to "query_string" > "query" (In reply to Fridolin Somers from comment #1) > Code has changed : > $term =~ s/(:+)(\s+)$lookahead/$2/g; > $term =~ s/(\s+)(:+)$lookahead/$1/g; > > But bug looks still valid. This new code should fix this, at least for me this search now works with this new code. Running into this problem. Would love for this fix to be released. |