Skip to content

Commit b0bf525

Browse files
committed
[API] Added the ignore parameter to "COMMON_QUERY_PARAMS"
This patch is needed to accept the `ignore` parameter for all APIs, which is then used in transport to ignore specific responses. Related: 6ae36e4
1 parent 6ae36e4 commit b0bf525

File tree

1 file changed

+1
-0
lines changed
  • elasticsearch-api/lib/elasticsearch

1 file changed

+1
-0
lines changed

elasticsearch-api/lib/elasticsearch/api.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module API
2222
]
2323

2424
COMMON_QUERY_PARAMS = [
25+
:ignore, # Client specific parameters
2526
:format, # Search, Cat, ...
2627
:pretty, # Pretty-print the response
2728
:human, # Return numeric values in human readable format

0 commit comments

Comments
 (0)