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
  • Loading branch information
brwe committed Sep 18, 2015
2 parents 5c8b181 + 16ec03b commit fbabd7a
Show file tree
Hide file tree
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
Expand Up @@ -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: [
Expand Down Expand Up @@ -67,6 +75,7 @@ define(function () {
"completion",
"translog",
"query_cache",
"commit",
"_all"
]
},
Expand Down
9 changes: 9 additions & 0 deletions public/webpackShims/kb/api_2_0/indices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -67,6 +75,7 @@ define(function () {
"completion",
"translog",
"query_cache",
"commit",
"_all"
]
},
Expand Down

0 comments on commit fbabd7a

Please sign in to comment.