Skip to content

Commit 4e58863

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

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

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

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

469469
The `QueryProfileShardResult` also gives access to the profiling information for the Lucene collectors:
470470

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

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

483483
In a very similar manner to the query tree execution, the `QueryProfileShardResult` objects gives access
484484
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)