|
@@ -38,13 +38,13 @@ There are added features when using the `elasticsearch` shell script.
|
|
|
The first, which was explained earlier, is the ability to easily run the
|
|
|
process either in the foreground or the background.
|
|
|
|
|
|
-Another feature is the ability to pass `-X` and `-D` directly to the
|
|
|
-script. When set, both override anything set using either `JAVA_OPTS` or
|
|
|
-`ES_JAVA_OPTS`. For example:
|
|
|
+Another feature is the ability to pass `-X` and `-D` or getopt long style
|
|
|
+configuration parameters directly to the script. When set, all override
|
|
|
+anything set using either `JAVA_OPTS` or `ES_JAVA_OPTS`. For example:
|
|
|
|
|
|
[source,sh]
|
|
|
--------------------------------------------------
|
|
|
-$ bin/elasticsearch -Xmx2g -Xms2g -Des.index.store.type=memory
|
|
|
+$ bin/elasticsearch -f -Xmx2g -Xms2g -Des.index.store.type=memory --node.name=my-node
|
|
|
--------------------------------------------------
|
|
|
*************************************************************************
|
|
|
--
|