2015-06-17 07:48:52 -04:00
|
|
|
[[breaking-changes query-refactoring]]
|
|
|
|
== Breaking changes on the query-refactoring branch
|
|
|
|
|
|
|
|
This section discusses changes that are breaking to the current rest or java-api
|
|
|
|
on the query-refactoring feature branch.
|
|
|
|
|
|
|
|
=== Java-API
|
|
|
|
|
|
|
|
==== QueryFilterBuilder
|
|
|
|
|
|
|
|
Removed the setter `queryName(String queryName)` since this field is not supported
|
|
|
|
in this type of query. Use `FQueryFilterBuilder.queryName(String queryName)` instead
|
|
|
|
when in need to wrap a named query as a filter.
|
2015-06-24 05:01:29 -04:00
|
|
|
|
|
|
|
Removed the enums called "Operator" from MatchQueryBuilder, QueryStringQueryBuilder,
|
|
|
|
SimpleQueryStringBuilder, and CommonTermsQueryBuilder in favour of using the enum
|
|
|
|
defined in org.elasticsearch.index.query.Operator in an effort to consolidate the
|
|
|
|
codebase and avoid duplication.
|