Skip to content

Commit 6b580ab

Browse files
committed
[API] Code Generator: Removes deprecated code
1 parent f72673d commit 6b580ab

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

elasticsearch-api/utils/thor/generator/endpoint_specifics.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module EndpointSpecifics
2828
indices.exists
2929
indices.exists_alias
3030
indices.exists_template
31-
indices.exists_type
3231
].freeze
3332

3433
# Endpoints that need Utils.__rescue_from_not_found if the ignore

elasticsearch-api/utils/thor/templates/_method_setup.erb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818
%>
19-
<%- if @method_name == 'search' -%>
20-
arguments[:index] = UNDERSCORE_ALL if ! arguments[:index] && arguments[:type]
21-
<%- end -%>
2219
<%- @parts.each do |name, _| %>
2320
<%- unless @method_name == 'get_field_mapping' && name == 'fields' %>
2421
<%= ' '*(@namespace_depth+3) + "_#{name}" %> = arguments.delete(:<%=name %>)

0 commit comments

Comments
 (0)