return the query builder for chaining
This commit is contained in:
parent
32fcd91e2b
commit
b3d1525e41
|
@ -170,8 +170,9 @@ public class QueryStringQueryBuilder extends BaseQueryBuilder {
|
|||
* Set to false if phrase queries should only be generated when
|
||||
* surrounded by double quotes.
|
||||
*/
|
||||
public void autoGeneratePhraseQueries(boolean autoGeneratePhraseQueries) {
|
||||
public QueryStringQueryBuilder autoGeneratePhraseQueries(boolean autoGeneratePhraseQueries) {
|
||||
this.autoGeneratePhraseQueries = autoGeneratePhraseQueries;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue