-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #206 - Additions to Sense Knowledge Base
- Closes #169 - Add type field to multi_match - Closes #175 - Adding global autocomplete rules for aliases - Closes #194 - Adding time_zone to date_histogram agg - Closes #199 - Removed multi_field type and added copy_to - Closes #170 - Add _bunch endpoint - Closes #174 - Adding _search/template endpoint
- Loading branch information
1 parent
c731b14
commit 76cc5d6
Showing
8 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
define(function () { | ||
'use strict'; | ||
return function init(api) { | ||
|
||
|
||
api.addEndpointDescription('_put_bench', { | ||
methods: ['PUT'], | ||
patterns: ['_bench'], | ||
data_autocomplete_rules: { | ||
name: '', | ||
percentiles: [], | ||
num_executor_nodes: 1, | ||
competitors: [{ | ||
__template: { | ||
name: '', | ||
requests: [{query:{}}] | ||
}, | ||
name: '', | ||
requests: [ | ||
{ | ||
__template: { | ||
query: {} | ||
}, | ||
query: {} | ||
} | ||
], | ||
iterations: 5, | ||
concurrency: 5, | ||
multiplier: 1000, | ||
warmup: { __one_of: [true, false] }, | ||
num_slowset: 1, | ||
search_type: { __one_of: ['query_then_fetch', 'dfs_query_then_fetch', 'count'] }, | ||
clear_caches: { | ||
filter: { __one_of: [true, false] }, | ||
field_data: { __one_of: [true, false] }, | ||
id: { __one_of: [true, false] }, | ||
recycler: { __one_of: [true, false] }, | ||
fields: ['{fields}'], | ||
filter_keys: { __one_of: [true, false] } | ||
}, | ||
indices: ['{indices}'] | ||
}] | ||
} | ||
}); | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters