You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/migration/migrate_5_0/java.asciidoc
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -229,15 +229,15 @@ The `field` setter has been deleted. Instead the field name needs to be specifie
229
229
==== SearchSourceBuilder
230
230
231
231
All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
232
-
relevant builder object for that feature (e.g. HighlightBuilder, AggregationBuilder, SuggesterBuilder) . This means that all search requests
232
+
relevant builder object for that feature (e.g. `HighlightBuilder`, `AggregationBuilder`, `SuggestBuilder`) . This means that all search requests
233
233
can now be validated at call time which results in much clearer errors.
234
234
235
-
The `defaultResourceWindowSize(int)` method has been removed. The window size should be set explicitly on all RescoreBuilder objects.
235
+
The `defaultResourceWindowSize(int)` method has been removed. The window size should be set explicitly on all `RescoreBuilder` objects.
236
236
237
237
==== SearchRequestBuilder
238
238
239
239
All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
240
-
relevant builder object for that feature (e.g. HighlightBuilder, AggregationBuilder, SuggesterBuilder) . This means that all search requests
240
+
relevant builder object for that feature (e.g. `HighlightBuilder`, `AggregationBuilder`, `SuggestBuilder`) . This means that all search requests
241
241
can now be validated at call time which results in much clearer errors.
242
242
243
243
All highlighter methods have been removed in favor of a single `highlighter(HighlightBuilder)` method.
@@ -250,12 +250,12 @@ The `setTemplateSource(String)` and `setTemplateSource(BytesReference)` methods
250
250
251
251
==== SearchRequest
252
252
253
-
All template methods have been removed in favor of a single `template(Template)` method.
253
+
All `template` methods have been removed in favor of a single `template(Template)` method.
254
254
255
-
All source methods have been removed in favor of a single `source(SearchSourceBuilder)` method. This means that all search requests can now be validated
255
+
All `source` methods have been removed in favor of a single `source(SearchSourceBuilder)` method. This means that all search requests can now be validated
256
256
at call time which results in much clearer errors.
0 commit comments