Bug 23322: Correct case for boolean in ES search
authorNick Clemens <nick@bywatersolutions.com>
Tue, 16 Jul 2019 12:08:47 +0000 (12:08 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 27 Aug 2019 23:52:57 +0000 (23:52 +0000)
commit7231c34c2f19c92a12dbb0c1215ece76f2343b86
tree7e162b6c7b92ef7304ae7b1b2a2fbfaf309b1bdf
parent1e2f5a6d3d417e95c224339c871edce3ff5d3701
Bug 23322: Correct case for boolean in ES search

I did not include tests only because this is a very small reasonable change and routine has no tests.
It does not affect behaviour, it only touches syntax lightly.

To test:
  0 - Set SearchEngine to ElasticSearch
  1 - Import the example record (a version is included in sample data in devbox/testing docker so you can skip)
  2 - Stage the attached example record
  3 - Match using 'ISBN' rule
  4 - No matches found
  5 - Apply patch
  6 - Restart all the things
  7 - Reapply matching with no rule
  8 - Reapply with ISBN matcing
  9 - It matches!
 10 - Set SearchEngine to Zebra
 11 - Reapply matching with no rule
 12 - Reapply with ISBN matching
 13 - Matching works as before in Zebra

Signed-off-by: Ron Houk <rhouk@ottumwapubliclibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit ce1b79d55d421d6d173d644ee7061ebb5b93919a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d4596cee7a1dc2a2657ab27c9661fffe036db719)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Matcher.pm