Phrase query with the DSL does not consider the `ignoreAnalyzer()` options

Description

This is an example of what I'm talking about:

1 2 3 4 5 6 Query query = queryBuilder .phrase() .onField( "message" ) .ignoreAnalyzer() ... .createQuery();

I'm not sure if it make sense to ignore the analyzer when dealing with phrase queries. If it is not the case, we should remove the option from the dsl when dealing with phrase queries. Alternatively, we can log a warning/exception.

See ConnectedMultiFieldsPhraseQueryBuilder.java

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Davide D'Alto

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major
Configure