Complete the code to define a cluster name in Elasticsearch configuration.
cluster.name: [1]The cluster.name setting defines the name of the Elasticsearch cluster.
Complete the code to set the node name in Elasticsearch configuration.
node.name: [1]The node.name setting specifies the name of the node within the cluster.
Fix the error in the shard allocation setting to specify primary shards count.
index.number_of_primary_shards: [1]The number of primary shards must be an integer, so 5 without quotes is correct.
Fill both blanks to create a dictionary mapping node names to shard counts.
shard_allocation = {"[1]": [2]The dictionary key is the node name (a string without quotes here for code), and the value is the number of shards (an integer).
Fill all three blanks to create a dictionary comprehension for shard sizes greater than 10GB.
large_shards = {node: size[1]2 for node, size in shard_sizes.items() if size [2] [3]The code squares the size using **, then filters sizes greater than 10.