elasticsearch/docs/reference
Jason Tedor 8a05c2a2be Bootstrap does not set system properties
Today, certain bootstrap properties are set and read via system
properties. This action-at-distance way of managing these properties is
rather confusing, and completely unnecessary. But another problem exists
with setting these as system properties. Namely, these system properties
are interpreted as Elasticsearch settings, not all of which are
registered. This leads to Elasticsearch failing to startup if any of
these special properties are set. Instead, these properties should be
kept as local as possible, and passed around as method parameters where
needed. This eliminates the action-at-distance way of handling these
properties, and eliminates the need to register these non-setting
properties. This commit does exactly that.

Additionally, today we use the "-D" command line flag to set the
properties, but this is confusing because "-D" is a special flag to the
JVM for setting system properties. This creates confusion because some
"-D" properties should be passed via arguments to the JVM (so via
ES_JAVA_OPTS), and some should be passed as arguments to
Elasticsearch. This commit changes the "-D" flag for Elasticsearch
settings to "-E".
2016-03-13 20:09:15 -04:00
..
aggregations Simplify mock scripts 2016-03-07 15:39:35 +01:00
analysis Update compound-word-tokenfilter.asciidoc 2016-03-11 15:08:36 +01:00
cat [DOCS] Cat nodes api: document recently added http column 2016-03-01 15:36:55 +01:00
cluster Clarification about precedence of settings 2016-03-10 14:29:51 +01:00
docs Fixed bad docs link 2016-03-10 13:08:29 +01:00
images Aggregations: add serial differencing pipeline aggregation 2015-07-10 18:22:01 -04:00
index-modules Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
indices Merge pull request #17030 from 36degrees/patch-1 2016-03-09 15:34:15 +01:00
ingest Added ingest statistics to node stats API 2016-03-10 13:21:43 +01:00
mapping Missing word in docs 2016-03-10 14:34:05 +01:00
migration Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
modules Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
query-dsl [DOCS] Fix missing table end in function-score-query.asciidoc 2016-03-10 13:35:33 -07:00
search Fix wrong include in docs 2016-03-04 12:44:28 +01:00
setup Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
tasks Task Management: Add framework for registering and communicating with tasks 2016-01-05 12:24:43 -05:00
testing Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference 2015-12-17 23:17:17 -08:00
aggregations.asciidoc Merge pull request #16741 from blachniet/patch-1 2016-03-02 10:57:56 +01:00
analysis.asciidoc Remove ICU Plugin in reference guide 2015-12-29 11:23:28 +01:00
api-conventions.asciidoc Update api-conventions.asciidoc 2016-03-04 10:10:29 +01:00
cat.asciidoc Fixed asciidoc issues 2016-02-05 14:47:44 +01:00
cluster.asciidoc Remove _shutdown API 2015-04-27 17:19:36 +02:00
docs.asciidoc Remove delete-by-query core docs 2015-08-01 05:14:46 -04:00
getting-started.asciidoc Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
glossary.asciidoc Networking: Move multicast discovery to a plugin 2015-08-20 16:43:25 -07:00
index-modules.asciidoc Redocument the index.merge.scheduler.max_thread_count setting 2016-03-05 16:28:43 +01:00
index.asciidoc Add ingest docs to the build 2016-02-11 14:16:56 -08:00
indices.asciidoc Remove warmers and the warmer API. 2016-01-07 09:57:07 +01:00
ingest.asciidoc Ingest node edits 2016-03-03 22:29:27 -08:00
mapping.asciidoc Docs: Made multi-fields more prominent 2015-08-06 20:09:42 +02:00
modules.asciidoc Docs: Java Security Manager and scripting 2016-02-01 09:38:21 +01:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Change the field mapping index time boost into a query time boost. 2016-03-04 11:47:35 +01:00
release-notes.asciidoc Updated the release-notes script to produce AsciiDoc and added placeholders 2015-11-20 20:05:53 +01:00
search.asciidoc Add documentation for global search timeout 2016-01-07 10:42:18 -05:00
setup.asciidoc Bootstrap does not set system properties 2016-03-13 20:09:15 -04:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00