Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HSEARCH-2144 Explicitly define the Elasticsearch version and configur…
…ation file used for integration testing
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
elasticsearch/elasticsearchconfiguration/elasticsearch.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# ======================== Elasticsearch Configuration ========================= | ||
# | ||
# NOTE: Elasticsearch comes with reasonable defaults for most settings. | ||
# This file overrides those reasonable settings for testing purposes | ||
# and is unlikely to be suited for any other goal: do not take this as | ||
# an example to run a production system. | ||
# | ||
# Please see the documentation for further information on configuration options: | ||
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html> | ||
# | ||
# ---------------------------------- Cluster ----------------------------------- | ||
# Use a descriptive name for your cluster: | ||
cluster.name: hsearch-testing | ||
# | ||
# ------------------------------------ Node ------------------------------------ | ||
# Use a descriptive name for the node: | ||
node.name: node-1 | ||
|
||
# | ||
# Lock the memory on startup; requires system permissions to be effective, | ||
# but shouldn't be harmful when the permissions are not granted. | ||
bootstrap.mlockall: true | ||
# | ||
# ---------------------------------- Network ----------------------------------- | ||
# Set the bind address to a specific IP (IPv4 or IPv6): | ||
network.host: 127.0.0.1 | ||
http.port: 9200 | ||
|
||
|
||
# --------------------------------- Discovery ---------------------------------- | ||
# Disable discovery to speedup forming a single node cluster: | ||
discovery.zen.ping.multicast.enabled: false | ||
discovery.zen.minimum_master_nodes: 1 | ||
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html> | ||
|
||
# ---------------------------------- Gateway ----------------------------------- | ||
# For more information, see the documentation at: | ||
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html> | ||
|
||
# ---------------------------------- Various ----------------------------------- | ||
# | ||
# Disable starting multiple nodes on a single system: | ||
# | ||
node.max_local_storage_nodes: 1 | ||
|
||
# Additional customizations to run a singleton node: | ||
|
||
node.local: true | ||
index.number_of_shards: 1 | ||
index.number_of_replicas: 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters