Skip to content

Commit

Permalink
Fix search template endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcook committed Oct 17, 2024
1 parent ee19652 commit c857e4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/elasticsearch/endpoints/SearchTemplate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ end
function SearchTemplate:getUri()
if self.index ~= nil then
return "/" .. self.index .. "/_search/template"
elseif self.index == nil then
return "/_all/_search/template"
end
return "/_search/template"
end
Expand Down

0 comments on commit c857e4a

Please sign in to comment.