OpenSearch/docs/reference/search
Zachary Tong 6e9e07d6f8
Fix profiling naming issues (#27133)
Some code-paths use anonymous classes (such as NonCollectingAggregator
in terms agg), which messes up the display name of the profiler.  If
we encounter an anonymous class, we need to grab the super's name.

Another naming issue was that ProfileAggs were not delegating to the
wrapped agg's name for toString(), leading to ugly display.

This PR also fixes up the profile documentation.  Some of the examples were
executing against empty indices, which shows different profile results
than a populated index (and made for confusing examples).

Finally, I switched the agg display names from the fully qualified name
to the simple name, so that it's similar to how the query profiles work.

Closes #26405
2017-11-06 16:37:33 -05:00
..
request Return the _source of inner hit nested as is without wrapping it into its full path context 2017-10-19 12:04:56 +02:00
suggesters Fix Laplace scorer to multiply by alpha (and not add) (#27125) 2017-10-31 13:08:44 +01:00
count.asciidoc Add a shard filter search phase to pre-filter shards based on query rewriting (#25658) 2017-07-12 22:19:20 +02:00
explain.asciidoc Remove the _all metadata field (#26356) 2017-08-28 17:43:59 +02:00
field-caps.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
multi-search.asciidoc Scripting: Deprecate stored search template apis (#25437) 2017-07-12 16:07:28 -07:00
profile.asciidoc Fix profiling naming issues (#27133) 2017-11-06 16:37:33 -05:00
request-body.asciidoc Docs: Add search response took time explanation (#26202) 2017-08-15 08:43:26 +02:00
search-shards.asciidoc Include all aliases including non-filtering in `_search_shards` response (#24489) 2017-05-05 09:34:12 +02:00
search-template.asciidoc Scripting: Deprecate stored search template apis (#25437) 2017-07-12 16:07:28 -07:00
search.asciidoc Limit the number of concurrent shard requests per search request (#25632) 2017-07-11 16:23:10 +02:00
suggesters.asciidoc Use `typed_keys` parameter to prefix suggester names by type in search responses (#23080) 2017-02-10 10:53:38 +01:00
uri-request.asciidoc Add a shard filter search phase to pre-filter shards based on query rewriting (#25658) 2017-07-12 22:19:20 +02:00
validate.asciidoc Do not index `_type` when there is at most one type. (#24363) 2017-05-04 16:29:35 +02:00