|
@@ -299,8 +299,8 @@ is used in the settings and the process is run as a service or in the background
|
|
|
=== Index Settings
|
|
|
|
|
|
Indices created within the cluster can provide their own settings. For
|
|
|
-example, the following creates an index with memory based storage
|
|
|
-instead of the default file system based one (the format can be either
|
|
|
+example, the following creates an index with a refresh interval of 5
|
|
|
+seconds instead of the default refresh interval (the format can be either
|
|
|
YAML or JSON):
|
|
|
|
|
|
[source,sh]
|
|
@@ -322,10 +322,10 @@ index :
|
|
|
--------------------------------------------------
|
|
|
|
|
|
This means that every index that gets created on the specific node
|
|
|
-started with the mentioned configuration will store the index in memory
|
|
|
-*unless the index explicitly sets it*. In other words, any index level
|
|
|
-settings override what is set in the node configuration. Of course, the
|
|
|
-above can also be set as a "collapsed" setting, for example:
|
|
|
+started with the mentioned configuration will use a refresh interval of
|
|
|
+5 seconds *unless the index explicitly sets it*. In other words, any
|
|
|
+index level settings override what is set in the node configuration. Of
|
|
|
+course, the above can also be set as a "collapsed" setting, for example:
|
|
|
|
|
|
[source,sh]
|
|
|
--------------------------------------------------
|