Schema validation fails if search analyzer is set explicitly to the same value as the analyzer

Description

In a full-text field, it’s possible to explicitly set the search analyzer to the same value as the analyzer.

While unecessary and redundant, it’s technically allowed.

When we do that, Elasticsearch will simply ignore the search_analyzer, and return “null” for search_analyzer when inspecting the mapping of the corresponding field.

Hibernate Search does not handle that well and schema validation will fail:

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Priority

Created July 25, 2022 at 1:41 PM
Updated August 4, 2022 at 8:29 AM
Resolved July 26, 2022 at 11:21 AM