https://github.com/elastic/elasticsearch
- HEAD
- refs/changes/72/2872/1
- refs/changes/73/2873/1
- refs/changes/74/2874/1
- refs/changes/75/2875/1
- refs/changes/76/2876/1
- refs/changes/77/2877/1
- refs/changes/78/2878/1
- refs/changes/79/2879/1
- refs/changes/80/2880/1
- refs/heads/0.12
- refs/heads/0.13
- refs/heads/0.14
- refs/heads/0.15
- refs/heads/0.16
- refs/heads/0.17
- refs/heads/0.18
- refs/heads/0.19
- refs/heads/0.20
- refs/heads/0.90
- refs/heads/1.0
- refs/heads/1.1
- refs/heads/1.2
- refs/heads/1.3
- refs/heads/1.4
- refs/heads/1.5
- refs/heads/1.6
- refs/heads/1.7
- refs/heads/2.0
- refs/heads/2.1
- refs/heads/2.2
- refs/heads/2.3
- refs/heads/2.4
- refs/heads/2024/02/08/ES-6685-transport-action-changes-final
- refs/heads/2gavy-patch-1
- refs/heads/5.0
- refs/heads/5.1
- refs/heads/5.2
- refs/heads/5.3
- refs/heads/5.4
- refs/heads/5.5
- refs/heads/5.6
- refs/heads/6.0
- refs/heads/6.1
- refs/heads/6.2
- refs/heads/6.3
- refs/heads/6.4
- refs/heads/6.5
- refs/heads/6.6
- refs/heads/6.7
- refs/heads/6.8
- refs/heads/7.0
- refs/heads/7.1
- refs/heads/7.10
- refs/heads/7.11
- refs/heads/7.12
- refs/heads/7.13
- refs/heads/7.14
- refs/heads/7.15
- refs/heads/7.16
- refs/heads/7.17
- refs/heads/7.2
- refs/heads/7.3
- refs/heads/7.4
- refs/heads/7.5
- refs/heads/7.6
- refs/heads/7.7
- refs/heads/7.8
- refs/heads/7.9
- refs/heads/8.0
- refs/heads/8.1
- refs/heads/8.10
- refs/heads/8.11
- refs/heads/8.12
- refs/heads/8.13
- refs/heads/8.2
- refs/heads/8.3
- refs/heads/8.4
- refs/heads/8.5
- refs/heads/8.6
- refs/heads/8.7
- refs/heads/8.8
- refs/heads/8.9
- refs/heads/AndyHunt66-patch-1
- refs/heads/Leaf-Lin-89619-doc-highlight
- refs/heads/Leaf-Lin-license
- refs/heads/Leaf-Lin-patch-1
- refs/heads/Leaf-Lin-patch-2
- refs/heads/Leaf-Lin-patch-3
- refs/heads/Leaf-Lin-uni-directional-CCR-DR
- refs/heads/Leaf-adding-autoscale-policy-details
- refs/heads/PhaedrusTheGreek-patch-2
- refs/heads/TheRiffRafi-patch-1
- refs/heads/TheRiffRafi-patch-2
- refs/heads/add-amazonlinux-platform-support
- refs/heads/add-csp-vulnerabilities-index-privileges
- refs/heads/add-linux-aarch64-to-bwc-setup-plugin
- refs/heads/add-linux-aarch64-to-bwc-setup-plugin-7.x
- refs/heads/add-percolator-indice-roles
- refs/heads/addPrivilegesForCspPlugin
- refs/heads/add_specific_error
- refs/heads/albertzaharovits-doc-dls-fls-remote-index-permitted
- refs/heads/albertzaharovits-doc-dls-fls-remote-index-permitted-1
- refs/heads/apm-add-create_index-permission
- refs/heads/apply-precommit-checks-for-qa
- refs/heads/approksiu-patch-1
- refs/heads/azure_upgrade6
- refs/heads/backport-86223
- refs/heads/backport/undo_transient_settings
- refs/heads/bczifra-add-rest-event-types-link
- refs/heads/benironside-typo-fix
- refs/heads/bernarmn-mnb-patch-1
- refs/heads/bk-cost-opt-combined
- refs/heads/bk-cost-opt-sizing
- refs/heads/bk-cost-opt-spot
- refs/heads/bk-cost-opt-testclusters
- refs/heads/breskeby/fix-windows-invalid-java-home-paths
- refs/heads/build-against-fixed-build-ids
- refs/heads/build-bwc-without-es-runtime-7x
- refs/heads/buildkite-migration
- refs/heads/buildkite-migration-717
- refs/heads/buildkite-migration-periodic-arm
- refs/heads/buildkite-settings-tweaks
- refs/heads/buildkite-test-more-parallel
- refs/heads/carlosdelest/semantic-text-inference-add-ons
- refs/heads/carlosdelest/synonyms-fix-no-id
- refs/heads/categorize_text_ga
- refs/heads/cbuescher-ES-7669
- refs/heads/cc5b2b7dab2b4b7b98a3a3eae71e8f98-debugging-branch
- refs/heads/ckauf-date-ingest-year-1
- refs/heads/cleydyr-patch-1
- refs/heads/commitinfo
- refs/heads/compat_rest_api
- refs/heads/crisdarocha-patch-1
- refs/heads/crispybacon-patch-2
- refs/heads/debadair-read-only
- refs/heads/debug-os-packaging-config-time
- refs/heads/demjened/update-ml-inference-docs
- refs/heads/dharada-patch-1
- refs/heads/dharada-patch-2
- refs/heads/direct-io
- refs/heads/docker_arm_beats_fix
- refs/heads/dockerfile_extension
- refs/heads/docs-transform-job-ilm-limitation
- refs/heads/docs/cluster-health-link-fix
- refs/heads/docs__changelog-90302
- refs/heads/docs__time-series-audit
- refs/heads/dynamic-template-unmatch-mapping-type
- refs/heads/ecs-test
- refs/heads/elasticsearch-teamcity
- refs/heads/enhancement/add-search-load-autoscaling-transport-version
- refs/heads/enroll-as-a-param
- refs/heads/enterprise-search/rex-demo
- refs/heads/entity-store-permissions
- refs/heads/esql-dataextractor
- refs/heads/esql-dataextractor-v2
- refs/heads/esql/agg-func-mapping
- refs/heads/esql/maxString
- refs/heads/esql/random-function
- refs/heads/fdartayre-patch-1
- refs/heads/feat/extend_kibana_system_osquery_manager
- refs/heads/feat/sql-multivalue
- refs/heads/feature/0-copy-indexing
- refs/heads/feature/84811-disk-usage-indicator
- refs/heads/feature/PCA
- refs/heads/feature/apm-integration
- refs/heads/feature/desired-balance-allocator
- refs/heads/feature/esql
- refs/heads/feature/esql_case_insensitive
- refs/heads/feature/semantic-text
- refs/heads/fix-debmetadatatests
- refs/heads/fix-docker-packaging-tests
- refs/heads/fix-fips-rpm-checksums
- refs/heads/fix-indenting-code-block
- refs/heads/fix-jdk-download-for-linux-arm64
- refs/heads/fix-licenseheaders-func-test-on-win
- refs/heads/fix-packaging-tests
- refs/heads/fix-stop-old-elasticsearch-fixture
- refs/heads/fix-testcluster-jvmoptions-on-windows
- refs/heads/fix/84927-significant-texts-yaml-test
- refs/heads/fix/97544
- refs/heads/fleet/fleet-secrets-followup
- refs/heads/freakingid-ilm-action-forcemerge
- refs/heads/geekpete-patch-1
- refs/heads/giladgal-patch-1
- refs/heads/gradle-update-82
- refs/heads/herrBez-patch-1
- refs/heads/id-is-string
- refs/heads/ignore-BwcVersionsTest-on-aarch
- refs/heads/ignore-older-version-bwc-tests-with-aarch64
- refs/heads/ignore-older-version-bwc-tests-with-aarch64-7.x
- refs/heads/ilm-error-not-bootstrapped-time-series-index
- refs/heads/ilm-policy-name
- refs/heads/index-min-primary-term-generation
- refs/heads/intro-javadoc-plugin
- refs/heads/introduce-build-benchmark-tests
- refs/heads/jdk21/this-escape-gatewaymetastate
- refs/heads/jeanfabrice-docpatch-1
- refs/heads/jmceniery-patch-1
- refs/heads/joshFive-patch-1
- refs/heads/juliaElastic-patch-1
- refs/heads/kilfoyle-patch-1
- refs/heads/kilfoyle-patch-2
- refs/heads/kilfoyle-remove-frozen-tier-warning
- refs/heads/lcawl-patch-1
- refs/heads/ldematte/non-semver-nodeinfo
- refs/heads/lhirlimann-patch-1
- refs/heads/lhirlimann-patch-2
- refs/heads/long-term-storage
- refs/heads/lucene_snapshot
- refs/heads/lucene_snapshot_9_10
- refs/heads/main
- refs/heads/make-distro-download-cc-compatible
- refs/heads/marks-branch
- refs/heads/mc-fix-license-tool--build
- refs/heads/merlixelastic-patch-1
- refs/heads/metering_ra_ingested_esmain
- refs/heads/migrate-primary-term-generation
- refs/heads/mrklaney-patch-1
- refs/heads/mute-65048-master
- refs/heads/mute-flaky-test-40-range-float-range
- refs/heads/nathandh22-patch-1
- refs/heads/octaavio-patch-1
- refs/heads/octaavio-patch-1-1
- refs/heads/patch-1
- refs/heads/perrinal-patch-1
- refs/heads/pjhampton/update-endpoint-data-streams
- refs/heads/plaid
- refs/heads/plaid-null-safe
- refs/heads/port-repository-s3-to-newtestframework
- refs/heads/ppf2-ConcurrentMergeScheduler-forcemerge
- refs/heads/ppf2-aggregations-ccs-leak-7.15.0
- refs/heads/ppf2-clarify-echo-command-usage
- refs/heads/ppf2-clarify-meta
- refs/heads/ppf2-improve-slack-setup
- refs/heads/ppf2-improve-slack-setup-1
- refs/heads/ppf2-patch-1
- refs/heads/ppf2-patch-2
- refs/heads/ppf2-patch-3
- refs/heads/ppf2-transport-profile-settings
- refs/heads/predogma-patch-1
- refs/heads/prmt-actions
- refs/heads/processor_set_docs_addition
- refs/heads/prodfiler
- refs/heads/promote_es_serverless
- refs/heads/reindex_v2
- refs/heads/release-notes-fp-8-13-1-main
- refs/heads/remove-apm-user
- refs/heads/revert-100369-fix-idp-fixture-issue
- refs/heads/revert-67890-mute-67889-master
- refs/heads/revert-72083-refactor-shard-level-snapshot-api
- refs/heads/revert-77491-Leaf-Lin-patch-2
- refs/heads/revert-87887-master
- refs/heads/revert-90122-support-ignore_malformed-in-boolean-field
- refs/heads/revert-90950-fix/no_subobjects_fieldname_validation
- refs/heads/revert-91519-tsds-remove-preview
- refs/heads/revert-92363-mute-find-structure-doctest
- refs/heads/revert-93076-transportversion-versionedwriteable
- refs/heads/revert-97821-ent-search/add-bwc-tests
- refs/heads/revert-98631-testfix/testSlicingBehaviourForParallelCollection
- refs/heads/rework-exclusive-metricbeatsrepo
- refs/heads/richiejarvis-patch-2
- refs/heads/robb3rt-patch-1
- refs/heads/robin13-patch-1
- refs/heads/rose
- refs/heads/rseldner-patch-1
- refs/heads/rseldner-patch-1-1
- refs/heads/rseldner-patch-1-2
- refs/heads/rseldner-patch-2
- refs/heads/run-as-admin
- refs/heads/runtime-fields-enrich
- refs/heads/runtime/runtime-to-index
- refs/heads/rwaight-patch-2
- refs/heads/serverless-submodule-lgc
- refs/heads/service_account_test_artifact
- refs/heads/set-user-profile-apis-to-master
- refs/heads/sherry-ger-search-app-api-elser-v2
- refs/heads/sherry-ger-search-template-mustache-list
- refs/heads/sherry-ger-search-template-mustache-list-main
- refs/heads/sigterm-cleanup
- refs/heads/simplify-distribution-download-configurations
- refs/heads/sm-mappings-moved-codeowners
- refs/heads/smaller-instances
- refs/heads/spacetime_improve_balancer
- refs/heads/stateless-debug-logging
- refs/heads/stateless-upgrade-testing
- refs/heads/stefnestor-patch-1
- refs/heads/stefnestor-patch-2
- refs/heads/stefnestor-patch-3
- refs/heads/stefnestor-patch-5
- refs/heads/support-buildkite-in-build-scans
- refs/heads/synonyms_management_api
- refs/heads/tailorzed-patch-1
- refs/heads/tailorzed-patch-2
- refs/heads/tailorzed-patch-3
- refs/heads/tarekziade/tikachanges
- refs/heads/teamcity
- refs/heads/terms_aggs_merge_reduce
- refs/heads/test-branch-colings86
- refs/heads/test-ecs-failure-notification
- refs/heads/test-esql-from-ml
- refs/heads/test-teamcity
- refs/heads/test_branch
- refs/heads/thumbnail-processor
- refs/heads/toby-sutor-patch-2
- refs/heads/track-internal-service-metrics-by-primaryterm-generation
- refs/heads/tsds-docs-fix
- refs/heads/turnUpTheChill-named-nested
- refs/heads/unmute-testHistoryIsWrittenWithSuccess
- refs/heads/update-discovery-node-constructor
- refs/heads/update-es-upstream
- refs/heads/update-event-type
- refs/heads/update-gradle-to-6-8
- refs/heads/update-gradle-wrapper-7-0
- refs/heads/update-stack-monitoring
- refs/heads/update-to-gradle-7-5
- refs/heads/use-add-primary-term-generation-listener
- refs/meta/config
- refs/remotes/es/feature/search-request-refactoring
- refs/remotes/origin/2.4
- refs/remotes/origin/2.x
- refs/remotes/origin/cbuescher-patch-1
- refs/remotes/origin/pr/5880
- refs/remotes/origin/pr/5885
- refs/remotes/origin/pr/5890
- refs/remotes/origin/pr/5893
- refs/remotes/origin/pr/5895
- refs/remotes/origin/pr/5896
- refs/remotes/origin/pr/5897
- refs/remotes/origin/pr/5898
- refs/remotes/origin/pr/5899
- refs/remotes/origin/pr/5902
- refs/remotes/upstream/enhancement/lucene_5_0_upgrade
- refs/remotes/upstream/ent-search-module
- refs/tags/v0.90.10
- refs/tags/v0.90.11
- refs/tags/v0.90.12
- refs/tags/v0.90.13
- refs/tags/v0.90.6
- refs/tags/v0.90.7
- refs/tags/v0.90.8
- refs/tags/v0.90.9
- refs/tags/v1.0.0
- refs/tags/v1.0.0.Beta1
- refs/tags/v1.0.0.Beta2
- refs/tags/v1.0.0.RC1
- refs/tags/v1.0.0.RC2
- refs/tags/v1.0.1
- refs/tags/v1.0.2
- refs/tags/v1.0.3
- refs/tags/v1.1.0
- refs/tags/v1.1.1
- refs/tags/v1.1.2
- refs/tags/v1.2.0
- refs/tags/v1.2.1
- refs/tags/v1.2.2
- refs/tags/v1.2.3
- refs/tags/v1.2.4
- refs/tags/v1.3.0
- refs/tags/v1.3.1
- refs/tags/v1.3.2
- refs/tags/v1.3.3
- refs/tags/v1.3.4
- refs/tags/v1.3.5
- refs/tags/v1.3.6
- refs/tags/v1.3.7
- refs/tags/v1.3.8
- refs/tags/v1.3.9
- refs/tags/v1.4.0
- refs/tags/v1.4.0.Beta1
- refs/tags/v1.4.1
- refs/tags/v1.4.2
- refs/tags/v1.4.3
- refs/tags/v1.4.4
- refs/tags/v1.4.5
- refs/tags/v1.5.0
- refs/tags/v1.5.1
- refs/tags/v1.5.2
- refs/tags/v1.6.0
- refs/tags/v1.6.1
- refs/tags/v1.6.2
- refs/tags/v1.7.0
- refs/tags/v1.7.1
- refs/tags/v1.7.2
- refs/tags/v1.7.3
- refs/tags/v1.7.4
- refs/tags/v1.7.5
- refs/tags/v1.7.6
- refs/tags/v2.0.0
- refs/tags/v2.0.0-beta2
- refs/tags/v2.0.0-rc1
- refs/tags/v2.0.1
- refs/tags/v2.0.2
- refs/tags/v2.1.0
- refs/tags/v2.1.1
- refs/tags/v2.1.2
- refs/tags/v2.2.0
- refs/tags/v2.2.1
- refs/tags/v2.2.2
- refs/tags/v2.3.0
- refs/tags/v2.3.1
- refs/tags/v2.3.2
- refs/tags/v2.3.3
- refs/tags/v2.3.4
- refs/tags/v2.3.5
- refs/tags/v2.4.0
- refs/tags/v2.4.1
- refs/tags/v2.4.2
- refs/tags/v2.4.3
- refs/tags/v2.4.4
- refs/tags/v2.4.5
- refs/tags/v2.4.6
- refs/tags/v5.0.0
- refs/tags/v5.0.0-alpha1
- refs/tags/v5.0.0-alpha2
- refs/tags/v5.0.0-alpha3
- refs/tags/v5.0.0-alpha4
- refs/tags/v5.0.0-alpha5
- refs/tags/v5.0.0-beta1
- refs/tags/v5.0.0-rc1
- refs/tags/v5.0.1
- refs/tags/v5.0.2
- refs/tags/v5.1.1
- refs/tags/v5.1.2
- refs/tags/v5.2.1
- refs/tags/v5.2.2
- refs/tags/v5.3.2
- refs/tags/v6.4.0
- refs/tags/v7.0.0-rc2
- v8.9.2
- v8.9.1
- v8.9.0
- v8.8.2
- v8.8.1
- v8.8.0
- v8.7.1
- v8.7.0
- v8.6.2
- v8.6.1
- v8.6.0
- v8.5.3
- v8.5.2
- v8.5.1
- v8.5.0
- v8.4.3
- v8.4.2
- v8.4.1
- v8.4.0
- v8.3.3
- v8.3.2
- v8.3.1
- v8.3.0
- v8.2.3
- v8.2.2
- v8.2.1
- v8.2.0
- v8.13.1
- v8.13.0
- v8.12.2
- v8.12.1
- v8.12.0
- v8.11.4
- v8.11.3
- v8.11.2
- v8.11.1
- v8.11.0
- v8.10.4
- v8.10.3
- v8.10.2
- v8.10.1
- v8.10.0
- v8.1.3
- v8.1.2
- v8.1.1
- v8.1.0
- v8.0.1
- v8.0.0-rc2
- v8.0.0-rc1
- v8.0.0-beta1
- v8.0.0-alpha2
- v8.0.0-alpha1
- v8.0.0
- v7.9.3
- v7.9.2
- v7.9.1
- v7.9.0
- v7.8.1
- v7.8.0
- v7.7.1
- v7.7.0
- v7.6.2
- v7.6.1
- v7.6.0
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.2
- v7.4.1
- v7.4.0
- v7.3.2
- v7.3.1
- v7.3.0
- v7.2.1
- v7.2.0
- v7.17.9
- v7.17.8
- v7.17.7
- v7.17.6
- v7.17.5
- v7.17.4
- v7.17.3
- v7.17.2
- v7.17.19
- v7.17.18
- v7.17.17
- v7.17.16
- v7.17.15
- v7.17.14
- v7.17.13
- v7.17.12
- v7.17.11
- v7.17.10
- v7.17.1
- v7.17.0
- v7.16.3
- v7.16.2
- v7.16.1
- v7.16.0
- v7.15.2
- v7.15.1
- v7.15.0
- v7.14.2
- v7.14.1
- v7.14.0
- v7.13.4
- v7.13.3
- v7.13.2
- v7.13.1
- v7.13.0
- v7.12.1
- v7.12.0
- v7.11.2
- v7.11.1
- v7.11.0
- v7.10.2
- v7.10.1
- v7.10.0
- v7.1.1
- v7.1.0
- v7.0.1
- v7.0.0-rc1
- v7.0.0-beta1
- v7.0.0-alpha2
- v7.0.0-alpha1
- v7.0.0
- v6.8.9
- v6.8.8
- v6.8.7
- v6.8.6
- v6.8.5
- v6.8.4
- v6.8.3
- v6.8.23
- v6.8.22
- v6.8.21
- v6.8.20
- v6.8.2
- v6.8.19
- v6.8.18
- v6.8.17
- v6.8.16
- v6.8.15
- v6.8.14
- v6.8.13
- v6.8.12
- v6.8.11
- v6.8.10
- v6.8.1
- v6.8.0
- v6.7.2
- v6.7.1
- v6.7.0
- v6.6.2
- v6.6.1
- v6.6.0
- v6.5.4
- v6.5.3
- v6.5.2
- v6.5.1
- v6.5.0
- v6.4.3
- v6.4.2
- v6.4.1
- v6.3.2
- v6.3.1
- v6.3.0
- v6.2.4
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.4
- v6.1.3
- v6.1.2
- v6.1.1
- v6.1.0
- v6.0.1
- v6.0.0-rc2
- v6.0.0-rc1
- v6.0.0-beta2
- v6.0.0-beta1
- v6.0.0-alpha2
- v6.0.0-alpha1
- v6.0.0
- v5.6.9
- v5.6.8
- v5.6.7
- v5.6.6
- v5.6.5
- v5.6.4
- v5.6.3
- v5.6.2
- v5.6.16
- v5.6.15
- v5.6.14
- v5.6.13
- v5.6.12
- v5.6.11
- v5.6.10
- v5.6.1
- v5.6.0
- v5.5.3
- v5.5.2
- v5.5.1
- v5.5.0
- v5.4.3
- v5.4.2
- v5.4.1
- v5.4.0
- v5.3.3
- v5.3.1
- v5.3.0
- v5.2.0
- v2.0.0-beta1
- v0.90.5
- v0.90.4
- v0.90.3
- v0.90.2
- v0.90.1
- v0.90.0.RC2
- v0.90.0.RC1
- v0.90.0.Beta1
- v0.90.0
- v0.9.0
- v0.8.0
- v0.7.1
- v0.7.0
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.0
- v0.20.6
- v0.20.5
- v0.20.4
- v0.20.3
- v0.20.2
- v0.20.1
- v0.20.0.RC1
- v0.20.0
- v0.19.9
- v0.19.8
- v0.19.7
- v0.19.6
- v0.19.5
- v0.19.4
- v0.19.3
- v0.19.2
- v0.19.12
- v0.19.11
- v0.19.10
- v0.19.1
- v0.19.0.RC3
- v0.19.0.RC2
- v0.19.0.RC1
- v0.19.0
- v0.18.7
- v0.18.6
- v0.18.5
- v0.18.4
- v0.18.3
- v0.18.2
- v0.18.1
- v0.18.0
- v0.17.9
- v0.17.8
- v0.17.7
- v0.17.6
- v0.17.5
- v0.17.4
- v0.17.3
- v0.17.2
- v0.17.10
- v0.17.1
- v0.17.0
- v0.16.5
- v0.16.4
- v0.16.3
- v0.16.2
- v0.16.1
- v0.16.0
- v0.15.2
- v0.15.1
- v0.15.0
- v0.14.4
- v0.14.3
- v0.14.2
- v0.14.1
- v0.14.0
- v0.13.1
- v0.13.0
- v0.12.1
- v0.12.0
- v0.11.0
- v0.10.0
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: 5c38d6076448b899d758f29443329571e2522410 authored by Alexander Reelsen on 06 August 2013, 13:13:25 UTC
Included only runtime dependencies when copying
Included only runtime dependencies when copying
Tip revision: 5c38d60
elasticsearch.bat
@echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
REM ***** JAVA options *****
if "%ES_MIN_MEM%" == "" (
set ES_MIN_MEM=256m
)
if "%ES_MAX_MEM%" == "" (
set ES_MAX_MEM=1g
)
if NOT "%ES_HEAP_SIZE%" == "" (
set ES_MIN_MEM=%ES_HEAP_SIZE%
set ES_MAX_MEM=%ES_HEAP_SIZE%
)
set JAVA_OPTS=%JAVA_OPTS% -Xms%ES_MIN_MEM% -Xmx%ES_MAX_MEM%
if NOT "%ES_HEAP_NEWSIZE%" == "" (
set JAVA_OPTS=%JAVA_OPTS% -Xmn%ES_HEAP_NEWSIZE%
)
if NOT "%ES_DIRECT_SIZE%" == "" (
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=%ES_DIRECT_SIZE%
)
set JAVA_OPTS=%JAVA_OPTS% -Xss256k
REM Enable aggressive optimizations in the JVM
REM - Disabled by default as it might cause the JVM to crash
REM set JAVA_OPTS=%JAVA_OPTS% -XX:+AggressiveOpts
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParNewGC
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC
set JAVA_OPTS=%JAVA_OPTS% -XX:CMSInitiatingOccupancyFraction=75
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseCMSInitiatingOccupancyOnly
REM When running under Java 7
REM JAVA_OPTS=%JAVA_OPTS% -XX:+UseCondCardMark
REM GC logging options -- uncomment to enable
REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCDetails
REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCTimeStamps
REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintClassHistogram
REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintTenuringDistribution
REM JAVA_OPTS=%JAVA_OPTS% -XX:+PrintGCApplicationStoppedTime
REM JAVA_OPTS=%JAVA_OPTS% -Xloggc:/var/log/elasticsearch/gc.log
REM Causes the JVM to dump its heap on OutOfMemory.
set JAVA_OPTS=%JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError
REM The path to the heap dump location, note directory must exists and have enough
REM space for a full heap dump.
REM JAVA_OPTS=%JAVA_OPTS% -XX:HeapDumpPath=$ES_HOME/logs/heapdump.hprof
set ES_CLASSPATH=%ES_CLASSPATH%;%ES_HOME%/lib/${project.build.finalName}.jar;%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*
set ES_PARAMS=-Delasticsearch -Des-foreground=yes -Des.path.home="%ES_HOME%"
"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% %ES_PARAMS% %* -cp "%ES_CLASSPATH%" "org.elasticsearch.bootstrap.ElasticSearch"
goto finally
:err
echo JAVA_HOME environment variable must be set!
pause
:finally
ENDLOCAL