mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
parent
dd4ff9b0a7
commit
4fbe1a8819
@ -93,7 +93,6 @@ buildRestTests.expectedUnconvertedCandidates = [
|
||||
'reference/analysis/tokenfilters/stop-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc',
|
||||
'reference/analysis/tokenfilters/word-delimiter-tokenfilter.asciidoc',
|
||||
'reference/cat/pending_tasks.asciidoc',
|
||||
'reference/cat/plugins.asciidoc',
|
||||
'reference/cat/recovery.asciidoc',
|
||||
'reference/cat/repositories.asciidoc',
|
||||
|
@ -3,11 +3,18 @@
|
||||
|
||||
`pending_tasks` provides the same information as the
|
||||
<<cluster-pending,`/_cluster/pending_tasks`>> API in a
|
||||
convenient tabular format.
|
||||
convenient tabular format. For example:
|
||||
|
||||
[source,sh]
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
GET /_cat/pending_tasks?v
|
||||
--------------------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
Might look like:
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
% curl 'localhost:9200/_cat/pending_tasks?v'
|
||||
insertOrder timeInQueue priority source
|
||||
1685 855ms HIGH update-mapping [foo][t]
|
||||
1686 843ms HIGH update-mapping [foo][t]
|
||||
@ -17,3 +24,6 @@ insertOrder timeInQueue priority source
|
||||
1690 787ms HIGH update-mapping [foo][t]
|
||||
1691 773ms HIGH update-mapping [foo][t]
|
||||
--------------------------------------------------
|
||||
// TESTRESPONSE[s/(\n.+)+/(\\n.+)*/ _cat]
|
||||
// We can't assert anything about the tasks in progress here because we don't
|
||||
// know what might be in progress....
|
||||
|
Loading…
x
Reference in New Issue
Block a user