Skip to content

Commit 4cc23ab

Browse files
committed
[DOCS] Specify IDs for Profile API sections (#41505)
1 parent e38fe8a commit 4cc23ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/java-rest/high-level/apis/search.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ include-tagged::{doc-tests}/SearchDocumentationIT.java[search-request-profiling-
462462
<4> Retrieve the profile results for the sub-queries (if any)
463463

464464
The Rest API documentation contains more information about {ref}/_profiling_queries.html[Profiling Queries] with
465-
a description of the {ref}/_profiling_queries.html#_literal_query_literal_section[query profiling information]
465+
a description of the {ref}/_profiling_queries.html#profile-query-section[query profiling information]
466466

467467
The `QueryProfileShardResult` also gives access to the profiling information for the Lucene collectors:
468468

@@ -476,7 +476,7 @@ include-tagged::{doc-tests}/SearchDocumentationIT.java[search-request-profiling-
476476
<4> Retrieve the profile results for the sub-collectors (if any)
477477

478478
The Rest API documentation contains more information about profiling information
479-
{ref}/_profiling_queries.html#_literal_collectors_literal_section[for Lucene collectors].
479+
{ref}/_profiling_queries.html#profile-collectors-section[for Lucene collectors].
480480

481481
In a very similar manner to the query tree execution, the `QueryProfileShardResult` objects gives access
482482
to the detailed aggregations tree execution:

docs/reference/search/profile.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ sufficient to see that a particular component of a query is slow, and not necess
218218
the `advance` phase of that query is the cause, for example.
219219
=======================================
220220

221+
[[profile-query-section]]
221222
==== `query` Section
222223

223224
The `query` section contains detailed timing of the query tree executed by Lucene on a particular shard.
@@ -368,6 +369,7 @@ The meaning of the stats are as follows:
368369
means the `nextDoc()` method was called on two different documents. This can be used to help judge
369370
how selective queries are, by comparing counts between different query components.
370371

372+
[[profile-collectors-section]]
371373
==== `collectors` Section
372374

373375
The Collectors portion of the response shows high-level execution details. Lucene works by defining a "Collector"

0 commit comments

Comments
 (0)