Colin Goodheart-Smithe 9 years ago
parent
commit
25c4446942
1 changed files with 6 additions and 6 deletions
  1. 6 6
      docs/reference/migration/migrate_5_0/java.asciidoc

+ 6 - 6
docs/reference/migration/migrate_5_0/java.asciidoc

@@ -229,15 +229,15 @@ The `field` setter has been deleted. Instead the field name needs to be specifie
 ==== SearchSourceBuilder
 ==== SearchSourceBuilder
 
 
 All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
 All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
-relevant builder object for that feature (e.g. HighlightBuilder, AggregationBuilder, SuggesterBuilder) . This means that all search requests
+relevant builder object for that feature (e.g. `HighlightBuilder`, `AggregationBuilder`, `SuggestBuilder`) . This means that all search requests
 can now be validated at call time which results in much clearer errors.
 can now be validated at call time which results in much clearer errors.
 
 
-The `defaultResourceWindowSize(int)` method has been removed. The window size should be set explicitly on all RescoreBuilder objects.
+The `defaultResourceWindowSize(int)` method has been removed. The window size should be set explicitly on all `RescoreBuilder` objects.
 
 
 ==== SearchRequestBuilder
 ==== SearchRequestBuilder
 
 
 All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
 All methods which take an `XContentBuilder`, `BytesReference` `Map<String, Object>` or `bytes[]` have been removed in favor of providing the
-relevant builder object for that feature (e.g. HighlightBuilder, AggregationBuilder, SuggesterBuilder) . This means that all search requests
+relevant builder object for that feature (e.g. `HighlightBuilder`, `AggregationBuilder`, `SuggestBuilder`) . This means that all search requests
 can now be validated at call time which results in much clearer errors.
 can now be validated at call time which results in much clearer errors.
 
 
 All highlighter methods have been removed in favor of a single `highlighter(HighlightBuilder)` method.
 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
 
 
 ==== SearchRequest
 ==== SearchRequest
 
 
-All template methods have been removed in favor of a single `template(Template)` method.
+All `template` methods have been removed in favor of a single `template(Template)` method.
 
 
-All source methods have been removed in favor of a single `source(SearchSourceBuilder)` method. This means that all search requests can now be validated
+All `source` methods have been removed in favor of a single `source(SearchSourceBuilder)` method. This means that all search requests can now be validated
 at call time which results in much clearer errors.
 at call time which results in much clearer errors.
 
 
-All extraSource methods have been removed.
+All `extraSource` methods have been removed.
 
 
 ==== AggregationBuilder
 ==== AggregationBuilder