Skip to content

Commit

Permalink
Remove unnecessary separator token setter aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix committed Oct 7, 2023
1 parent 0807be1 commit d4ab779
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/meilisearch/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ def update_separator_tokens(separator_tokens_attributes)
attributes = Utils.transform_attributes(separator_tokens_attributes)
http_put("/indexes/#{@uid}/settings/separator-tokens", attributes)
end
alias separator_tokens= update_separator_tokens

def reset_separator_tokens
http_delete("/indexes/#{@uid}/settings/separator-tokens")
Expand All @@ -488,7 +487,6 @@ def update_non_separator_tokens(non_separator_tokens_attributes)
attributes = Utils.transform_attributes(non_separator_tokens_attributes)
http_put("/indexes/#{@uid}/settings/non-separator-tokens", attributes)
end
alias non_separator_tokens= update_non_separator_tokens

def reset_non_separator_tokens
http_delete("/indexes/#{@uid}/settings/non-separator-tokens")
Expand Down

0 comments on commit d4ab779

Please sign in to comment.