| This is an example of what I'm talking about:
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 |