Skip to content

Commit 7f95ac5

Browse files
committed
Adjust profile docs
1 parent a97249b commit 7f95ac5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/search/profile.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The API returns the following result:
171171
"time_in_nanos": 775274,
172172
"children" : [
173173
{
174-
"name": "SimpleTopScoreDocCollector",
174+
"name": "TopScoreDocCollector",
175175
"reason": "search_top_hits",
176176
"time_in_nanos": 775274
177177
}
@@ -532,7 +532,7 @@ Looking at the previous example:
532532
"time_in_nanos": 775274,
533533
"children" : [
534534
{
535-
"name": "SimpleTopScoreDocCollector",
535+
"name": "TopScoreDocCollector",
536536
"reason": "search_top_hits",
537537
"time_in_nanos": 775274
538538
}
@@ -546,7 +546,7 @@ Looking at the previous example:
546546

547547

548548
We see a top-level collector named `QueryPhaseCollector` which holds a child
549-
`SimpleTopScoreDocCollector`. `SimpleTopScoreDocCollector` is the default
549+
`TopScoreDocCollector`. `TopScoreDocCollector` is the default
550550
"scoring and sorting" `Collector` used by {es}. The `reason` field attempts
551551
to give a plain English description of the class name. The `time_in_nanos`
552552
is similar to the time in the Query tree: a wall-clock time inclusive of all
@@ -746,7 +746,7 @@ The API returns the following result:
746746
"time_in_nanos": 1945072,
747747
"children": [
748748
{
749-
"name": "SimpleTopScoreDocCollector",
749+
"name": "TopScoreDocCollector",
750750
"reason": "search_top_hits",
751751
"time_in_nanos": 22577
752752
},
@@ -783,7 +783,7 @@ major portions of the query are represented:
783783
2. The second `TermQuery` (message:search) represents the `post_filter` query.
784784

785785
The Collector tree is fairly straightforward, showing how a single
786-
QueryPhaseCollector that holds the normal scoring SimpleTopScoreDocCollector
786+
QueryPhaseCollector that holds the normal scoring TopScoreDocCollector
787787
used to collect top hits, as well as BucketCollectorWrapper to run all scoped
788788
aggregations.
789789

@@ -1327,7 +1327,7 @@ One of the `dfs.knn` sections for a shard looks like the following:
13271327
"rewrite_time" : 1275732,
13281328
"collector" : [
13291329
{
1330-
"name" : "SimpleTopScoreDocCollector",
1330+
"name" : "TopScoreDocCollector",
13311331
"reason" : "search_top_hits",
13321332
"time_in_nanos" : 17163
13331333
}

0 commit comments

Comments
 (0)