[Koha-bugs] [Bug 21534] ElasticSearch - Dash is considered like a boolean operator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 26 17:44:53 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21534

--- Comment #4 from Marjorie Barry-Vila <marjorie.barry-vila at collecto.ca> ---
(In reply to Nick Clemens from comment #1)
> I tested this on master and cannot recreate.
> 
> According to the docs:
> https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-
> query-string-query.html
> 
> Hyphen is considered a boolean 'not' operator
> 
> in testing though it seems to work as long as there is no space

Hi Nick,
You may not have been able to reproduce the problem on your side because the
QueryAutoTruncate system preference was already set to "only if a * is added"?
I realized that I was getting results if I changed the system preference for
this option.

On the other hand, with the preference system on "only if a * is added" if I
search :
saints-anges*

this gives no result

(cgi-bin/koha/opac-search.pl?q=saints-anges*)

Could you test this point?

Regards,
Marjorie

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list