mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Fix some typos (#18746)
* Update java-doc of SearchResponse.getProfileResults() * Fix a trivial typo in Reference document
This commit is contained in:
parent
692c42b23a
commit
c0da8e4060
@ -167,7 +167,7 @@ public class SearchResponse extends ActionResponse implements StatusToXContent {
|
|||||||
* If profiling was enabled, this returns an object containing the profile results from
|
* If profiling was enabled, this returns an object containing the profile results from
|
||||||
* each shard. If profiling was not enabled, this will return null
|
* each shard. If profiling was not enabled, this will return null
|
||||||
*
|
*
|
||||||
* @return The profile results or null
|
* @return The profile results or an empty map
|
||||||
*/
|
*/
|
||||||
public @Nullable Map<String, List<ProfileShardResult>> getProfileResults() {
|
public @Nullable Map<String, List<ProfileShardResult>> getProfileResults() {
|
||||||
return internalResponse.profile();
|
return internalResponse.profile();
|
||||||
|
@ -9,7 +9,7 @@ conjunction with the cluster-wide allocation filters explained in
|
|||||||
<<shards-allocation>>.
|
<<shards-allocation>>.
|
||||||
|
|
||||||
It is possible to assign arbitrary metadata attributes to each node at
|
It is possible to assign arbitrary metadata attributes to each node at
|
||||||
startup. For instance, nodes could be assigned a `rack` and a `group`
|
startup. For instance, nodes could be assigned a `rack` and a `size`
|
||||||
attribute as follows:
|
attribute as follows:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user