We're updating the issue view to help you get more done. 

"transpositions" setting is ignored for FuzzyQuery in the Elasticsearch integration

Description

The transpositions setting is not being translated to the Elasticsearch query.

Bug is located in: org.hibernate.search.elasticsearch.impl.ToElasticsearch#convertFuzzyQuery

1 2 3 4 5 6 7 8 9 10 JsonObject fuzzyQuery = JsonBuilder.object() .add( "fuzzy", JsonBuilder.object().add( field, JsonBuilder.object() .addProperty( "value", query.getTerm().text() ) .addProperty( "fuzziness", query.getMaxEdits() ) .addProperty( "prefix_length", query.getPrefixLength() ) .append( boostAppender( query ) ) ).build();

transpositions is not carried over to the Elasticsearch query.

Environment

None

Status

Assignee

Rick Gagne

Reporter

Rick Gagne

Labels

None

Suitable for new contributors

Yes, likely

Feedback Requested

None

Components

Fix versions

Affects versions

5.11.1.Final
5.10.5.Final

Priority

Major