]> git.koha-community.org Git - koha.git/commit
Bug 22295: Make Elasticsearch query builder group multi-term queries
authorEre Maijala <ere.maijala@helsinki.fi>
Fri, 8 Mar 2019 11:27:26 +0000 (13:27 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Apr 2019 11:30:04 +0000 (12:30 +0100)
commit8f8bcbbc0dc9f0f1145f7fd30f14749dcddfec26
tree2de4f35c9ddd200571997ef58467c6df50764a44
parentd8eb572eeeffcc35cb9a09534eddd802a6871fb6
Bug 22295: Make Elasticsearch query builder group multi-term queries

Test plan:

1. Do an advanced search for
Title = new
AND
Title = york
2. Verify that the results match an advanced search for:
Title = new york
3. Verify that tests in t/db_dependent/Koha/SearchEngine/Elasticsearch still pass

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e90cb16d79f611caa3cd6d6cbbca4ea01d7a8077)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t