Defect HC-19584

Multi-word search breaks Elastic search response

Software

Customer case Applies to Corrected in
CS0321920 V9.1.11.0 9.1.11.0

Observed behavior

A NullPointerException is raised when performing a multi-word search in Elasticsearch.

Expected behavior

There should be no exceptions reported.

Resolution

The code was not properly dealing with locales, and was using the language only to determine if NLP is supported. This has been corrected to use the appropriate locale check.