Skip to content

Commit

Permalink
Merge pull request #11 from brwe/synced-flush-kb
Browse files Browse the repository at this point in the history
Synced flush kb
brwe committed Sep 18, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 5c8b181 + 16ec03b commit fbabd7a
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/webpackShims/kb/api_1_0/indices.js
Original file line number Diff line number Diff line change
@@ -40,6 +40,14 @@ define(function () {
force: [true, false]
}
});

api.addEndpointDescription('_flush_synced', {
methods: ['POST'],
patterns: [
"_flush/synced",
"{indices}/_flush/synced"
]
});

api.addEndpointDescription('_stats', {
patterns: [
@@ -67,6 +75,7 @@ define(function () {
"completion",
"translog",
"query_cache",
"commit",
"_all"
]
},
9 changes: 9 additions & 0 deletions public/webpackShims/kb/api_2_0/indices.js
Original file line number Diff line number Diff line change
@@ -40,6 +40,14 @@ define(function () {
force: [true, false]
}
});

api.addEndpointDescription('_flush_synced', {
methods: ['POST'],
patterns: [
"_flush/synced",
"{indices}/_flush/synced"
]
});

api.addEndpointDescription('_stats', {
patterns: [
@@ -67,6 +75,7 @@ define(function () {
"completion",
"translog",
"query_cache",
"commit",
"_all"
]
},

0 comments on commit fbabd7a

Please sign in to comment.