.withPrefixLength is ignored for .keyword().fuzzy() queries in the Elasticsearch integration

Description

The bug is located in org.hibernate.search.query.dsl.impl.ConnectedMultiFieldsTermQueryBuilder#createRemoteQuery:

We forgot to get and set the prefix length in this block.

Only Hibernate Search 5.x is affected.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure