Compare commits

...

43 Commits

Author SHA1 Message Date
7aebd6b980 Bumped v5.6.21 2020-02-04 10:54:18 +01:00
5a0bcfd83f Skip compression in case of empty string body (#1080)
* Fix #1069

* Updated test

* Updated test
2020-02-04 10:31:14 +01:00
e23cc725f6 Fix typo in NoLivingConnectionsError (#1045)
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
2020-02-04 10:30:26 +01:00
59f7204183 Merge branch '5.x' of https://github.com/elastic/elasticsearch-js into 5.x 2020-01-15 18:26:15 +01:00
e4edfde4f7 Change TransportRequestOptions.ignore to number[] (#1053) 2020-01-15 18:26:11 +01:00
eec7439514 Return super in example Transport subclass (#980)
If called without a callback, the request method returns a Promise, so
when calling into super.request, the result should be returned to
maintain promise behavior.
2019-12-19 13:38:07 +01:00
6610cf3638 [DOCS] Add EOL notice. (#1020) 2019-12-09 16:07:57 -08:00
af4b4d4bb6 Updated run-test script 2019-10-28 17:08:14 +01:00
9313a08733 Updated run-test script 2019-10-28 16:59:51 +01:00
77f4cb6c02 Updated CI configuration 2019-10-28 16:38:34 +01:00
6c13dc4f7b Updated CI configuration 2019-10-28 16:22:37 +01:00
4143c4c759 Updated run-test script 2019-10-28 16:07:44 +01:00
0980a51cfe Updated CI configuration 2019-10-28 16:00:49 +01:00
e4da7c1dbd Updated jobs/defaults.yml to use the new job matrix 2019-10-28 14:48:46 +01:00
d04e1a479c New CI configuration (#996)
* Removed old files

* Updated README

* New CI configuration

* Updated run-test script
2019-10-28 14:48:39 +01:00
c0cf2437fd Move back to jjbb (#995)
* Removed Jenkins pipelines configuration

* Restored jjbb definitions
2019-10-28 14:47:15 +01:00
d798b2cd37 Backport 7fef37cf90 2019-09-18 08:48:31 +02:00
1927aa85f7 Fix inaccurate description sniffEndpoint (#959) 2019-09-16 17:43:58 +02:00
0716d3b4e2 Add body and querystring to RequestOptions (#957) 2019-09-11 11:30:56 +02:00
6dd9d2737c Updated cron job definition (#939)
* Updated cron job definition

* Update .ci/Jenkinsfile

Co-Authored-By: Victor Martinez <victormartinezrubio@gmail.com>
2019-08-13 10:56:02 +02:00
4170fc702b Updated .travis.yml (#938) 2019-08-09 14:08:55 +02:00
dfc0556c4b Fixed es-docker.sh 2019-08-09 12:32:43 +02:00
dbe22f284a Test only oss integration test 2019-08-09 12:17:25 +02:00
2615338008 Use Jenkins pipelines (#937) 2019-08-09 12:16:03 +02:00
c6ff0dee17 Disable travis cache (#929) 2019-08-02 11:50:26 +02:00
00fef28230 Updated error handling in bulk example (#927) 2019-08-01 12:21:20 +02:00
f3600be976 Bumped v5.6.20 2019-08-01 11:40:03 +02:00
867f67cec7 API generation 2019-07-25 11:21:39 +02:00
47823402b0 Fix script 2019-07-25 11:21:34 +02:00
ba1c6876e5 Better reference code examples (#920)
* Updated documentation genertation script to build small code snippets

* Updated docs reference

* Removed slm doc

* Add commas and remove empty objects
2019-07-25 11:17:58 +02:00
f3f8628ca1 Updated automatically the main typings file with the generated t… (#919)
* Updated automatically the main typings file with the generated types

* Removed useless log
2019-07-25 11:17:46 +02:00
c130331e69 Updated license header (#915) 2019-07-22 12:15:00 +02:00
02eb4f9caf fix(Typings): sniffInterval can also be boolean (#914) 2019-07-22 10:40:52 +02:00
d15ea96ff5 Fix typo in comments (#912) 2019-07-17 17:05:38 +02:00
0455763a4e Improve README (#909)
* Updated README

* Updated asciidoc intro

* Updated intro title

* Update README.md

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update README.md

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update README.md

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update README.md

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update README.md

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/introduction.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/introduction.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Updated asciidoc intro
2019-07-17 10:30:38 +02:00
0cd9f024c9 Added support for arbitrary_key (#910) 2019-07-16 12:22:06 +02:00
cefd4240a2 Update deepmerge requirement from ^3.2.0 to ^4.0.0 (#898) 2019-07-15 16:54:56 +02:00
5e59d8d818 Update tap requirement from ^13.0.1 to ^14.4.1 (#900) 2019-07-15 16:54:55 +02:00
bfece4146f Update @types/node requirement from ^11.13.7 to ^12.6.2 (#899) 2019-07-15 16:54:55 +02:00
5479965e22 Update standard requirement from ^12.0.1 to ^13.0.2 (#906) 2019-07-15 16:54:55 +02:00
958e1ef9ca Updated cleanup code 2019-07-10 17:56:21 +02:00
2798024031 Improve integration test (#859)
* CI: Added junit plugin

* Updated .gitignore

* Added integration test reporter

* Updated integration testing suite

* Updated ci config

* Updated report file path

* Use refresh 'true' instead of 'wait_for'

* Disable junit reporting

* Refresh one single time

* Update security index name

* Updated skip test handling and use class syntax

* Updated test script

* Disable test timeout

* Added command to automatically remove an old snapshot

* Disable timeout in integration test script

* Updated logs and cleaned up git handling

* Fixed shouldSkip utility

* Updated cleanup code

* Updated cleanup code pt 2

* Rename Platinum to XPack
2019-07-10 16:00:14 +02:00
5a304ce5db Updated travis configuration (#894)
* Updated travis configuration

* Run license checker only in Linux

* Fixed script

* Fix windows test
2019-07-08 16:30:40 +02:00
187 changed files with 3947 additions and 4869 deletions

185
.ci/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,185 @@
#!/usr/bin/env groovy
@Library('apm@current') _
def NODE_JS_VERSIONS = [8,10,12]
def nodeJsVersion = NODE_JS_VERSIONS[randomNumber(min: 0, max:2)]
pipeline {
agent {
label 'docker && immutable'
}
environment {
REPO = 'elasticsearch-js'
BASE_DIR = "src/github.com/elastic/${env.REPO}"
NODE_JS_DEFAULT_VERSION = "${nodeJsVersion}"
NODE_JS_VERSIONS = "${NODE_JS_VERSIONS.join(',')}"
HOME = "${env.WORKSPACE}"
npm_config_cache = 'npm-cache'
}
options {
timeout(time: 1, unit: 'HOURS')
buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '20', daysToKeepStr: '30'))
timestamps()
ansiColor('xterm')
disableResume()
durabilityHint('PERFORMANCE_OPTIMIZED')
}
triggers {
issueCommentTrigger('(?i).*(?:jenkins\\W+)?run\\W+(?:the\\W+)?tests(?:\\W+please)?.*')
// env.CHANGE_ID as a value in case of a commit or a pr, which means
// that we will have a daily cron job only for branches that don't have an active pr
cron(env.CHANGE_ID ? '' : '@daily')
}
stages {
stage('Checkout') {
options { skipDefaultCheckout() }
steps {
deleteDir()
gitCheckout(basedir: "${BASE_DIR}", githubNotifyFirstTimeContributor: false)
stash allowEmpty: true, name: 'source', useDefaultExcludes: false
}
}
stage('Install dependencies') {
options { skipDefaultCheckout() }
steps {
deleteDir()
unstash 'source'
script {
buildDockerImage(image: "node:${env.NODE_JS_DEFAULT_VERSION}-alpine").inside(){
dir("${BASE_DIR}"){
sh(label: 'System info', script: 'node --version; npm --version')
sh(label: 'Install dependencies', script: 'npm install')
}
}
}
stash allowEmpty: true, name: 'source-dependencies', useDefaultExcludes: false
}
}
stage('License check') {
options { skipDefaultCheckout() }
steps {
withGithubNotify(context: 'License check') {
deleteDir()
unstash 'source-dependencies'
script {
buildDockerImage(image: "node:${env.NODE_JS_DEFAULT_VERSION}-alpine").inside(){
dir("${BASE_DIR}"){
sh(label: 'Check production dependencies licenses', script: 'npm run license-checker')
}
}
}
}
}
}
stage('Linter') {
options { skipDefaultCheckout() }
steps {
withGithubNotify(context: 'Linter') {
deleteDir()
unstash 'source-dependencies'
script {
buildDockerImage(image: "node:${env.NODE_JS_DEFAULT_VERSION}-alpine").inside(){
dir("${BASE_DIR}"){
sh(label: 'Lint code with standardjs', script: 'npm run lint')
}
}
}
}
}
}
stage('Unit test') {
failFast true
options { skipDefaultCheckout() }
steps {
withGithubNotify(context: 'Unit test') {
script {
def versions = env.NODE_JS_VERSIONS.split(',')
def parallelTasks = [:]
versions.each{ version ->
parallelTasks["Node.js v${version}"] = buildUnitTest(version: version)
}
parallel(parallelTasks)
}
}
}
}
stage('Integration test') {
options { skipDefaultCheckout() }
environment {
TEST_ES_SERVER = 'http://elasticsearch:9200'
}
steps {
withGithubNotify(context: 'Integration test OSS') {
deleteDir()
unstash 'source-dependencies'
dir("${BASE_DIR}"){
// Sometimes the docker registry fails and has random timeouts
// this block will retry a doker image 3 times before to fail.
retry(3) {
sleep randomNumber(min: 5, max: 10)
sh(label: 'Start Elasticsearch', script: './scripts/es-docker.sh --detach')
}
}
script {
buildDockerImage(fromDockerfile: true).inside('--network=elastic'){
dir("${BASE_DIR}"){
sh(label: 'Integration test', script: 'npm run test:integration | tee test-integration.tap')
sh(label: 'Generating test reporting', script: './node_modules/.bin/tap-mocha-reporter xunit < test-integration.tap > junit-integration.xml')
}
}
}
sh(label: 'Stop Elasticsearch', script: 'docker kill $(docker ps -q)')
junit(allowEmptyResults: true, keepLongStdio: true, testResults: "${BASE_DIR}/**/junit-*.xml")
}
}
}
}
}
// Sometimes the docker registry fails and has random timeouts
// this function will retry a doker image 3 times before to fail.
def buildDockerImage(args) {
def image
retry(3) {
sleep randomNumber(min: 5, max: 10)
if (args.fromDockerfile == true) {
image = docker.build('nodejs-image', "--build-arg NODE_JS_VERSION=${env.NODE_JS_DEFAULT_VERSION} ${BASE_DIR}/.ci/docker")
} else {
image = docker.image(args.image)
// make sure we have the latest available from Docker Hub
image.pull()
}
}
return image
}
def buildUnitTest(args) {
return {
node('docker && immutable') {
deleteDir()
unstash 'source'
script {
buildDockerImage(image: "node:${args.version}-alpine").inside(){
dir("${BASE_DIR}"){
sh(label: 'Install dependencies', script: 'npm install')
sh(label: 'Run unit test', script: 'npm run test:unit | tee test-unit.tap')
sh(label: 'Run behavior test', script: 'npm run test:behavior | tee test-behavior.tap')
sh(label: 'Run types test', script: 'npm run test:types')
sh(label: 'Generating test reporting', script: './node_modules/.bin/tap-mocha-reporter xunit < test-unit.tap > junit-unit.xml; ./node_modules/.bin/tap-mocha-reporter xunit < test-behavior.tap > junit-behavior.xml')
}
}
}
junit(allowEmptyResults: true, keepLongStdio: true, testResults: "${BASE_DIR}/**/junit-*.xml")
}
}
}

7
.ci/docker/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
ARG NODE_JS_VERSION=10
FROM node:${NODE_JS_VERSION}-alpine
RUN apk --no-cache add git
# Create app directory
WORKDIR /usr/src/app

View File

@ -47,6 +47,10 @@
type: yaml type: yaml
filename: .ci/test-matrix.yml filename: .ci/test-matrix.yml
name: NODE_JS_VERSION name: NODE_JS_VERSION
- axis:
type: yaml
filename: .ci/test-matrix.yml
name: TEST_SUITE
yaml-strategy: yaml-strategy:
exclude-key: exclude exclude-key: exclude
filename: .ci/test-matrix.yml filename: .ci/test-matrix.yml
@ -65,3 +69,6 @@
publishers: publishers:
- email: - email:
recipients: infra-root+build@elastic.co recipients: infra-root+build@elastic.co
# - junit:
# results: "*-junit.xml"
# allow-empty-results: true

14
.ci/packer_cache.sh Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
source /usr/local/bin/bash_standard_lib.sh
DOCKER_IMAGES="node:12-alpine
node:10-alpine
node:8-alpine
"
for di in ${DOCKER_IMAGES}
do
(retry 2 docker pull "${di}") || echo "Error pulling ${di} Docker image, we continue"
done

177
.ci/run-elasticsearch.sh Normal file
View File

@ -0,0 +1,177 @@
#!/usr/bin/env bash
#
# Launch one or more Elasticsearch nodes via the Docker image,
# to form a cluster suitable for running the REST API tests.
#
# Export the ELASTICSEARCH_VERSION variable, eg. 'elasticsearch:8.0.0-SNAPSHOT'.
if [[ -z "$ELASTICSEARCH_VERSION" ]]; then
echo -e "\033[31;1mERROR:\033[0m Required environment variable [ELASTICSEARCH_VERSION] not set\033[0m"
exit 1
fi
set -euxo pipefail
moniker=$(echo "$ELASTICSEARCH_VERSION" | tr -C "[:alnum:]" '-')
suffix=rest-test
NODE_NAME=${NODE_NAME-${moniker}node1}
MASTER_NODE_NAME=${MASTER_NODE_NAME-${NODE_NAME}}
CLUSTER_NAME=${CLUSTER_NAME-${moniker}${suffix}}
HTTP_PORT=${HTTP_PORT-9200}
ELASTIC_PASSWORD=${ELASTIC_PASSWORD-changeme}
SSL_CERT=${SSL_CERT-"$PWD/certs/testnode.crt"}
SSL_KEY=${SSL_KEY-"$PWD/certs/testnode.key"}
SSL_CA=${SSL_CA-"$PWD/certs/ca.crt"}
DETACH=${DETACH-false}
CLEANUP=${CLEANUP-false}
volume_name=${NODE_NAME}-${suffix}-data
network_default=${moniker}${suffix}
NETWORK_NAME=${NETWORK_NAME-"$network_default"}
set +x
function cleanup_volume {
if [[ "$(docker volume ls -q -f name=$1)" ]]; then
echo -e "\033[34;1mINFO:\033[0m Removing volume $1\033[0m"
(docker volume rm "$1") || true
fi
}
function cleanup_node {
if [[ "$(docker ps -q -f name=$1)" ]]; then
echo -e "\033[34;1mINFO:\033[0m Removing container $1\033[0m"
(docker container rm --force --volumes "$1") || true
cleanup_volume "$1-${suffix}-data"
fi
}
function cleanup_network {
if [[ "$(docker network ls -q -f name=$1)" ]]; then
echo -e "\033[34;1mINFO:\033[0m Removing network $1\033[0m"
(docker network rm "$1") || true
fi
}
function cleanup {
if [[ "$DETACH" != "true" ]] || [[ "$1" == "1" ]]; then
echo -e "\033[34;1mINFO:\033[0m clean the node and volume on startup (1) OR on exit if not detached\033[0m"
cleanup_node "$NODE_NAME"
fi
if [[ "$DETACH" != "true" ]]; then
echo -e "\033[34;1mINFO:\033[0m clean the network if not detached (start and exit)\033[0m"
cleanup_network "$NETWORK_NAME"
fi
};
trap "cleanup 0" EXIT
if [[ "$CLEANUP" == "true" ]]; then
trap - EXIT
if [[ -z "$(docker network ls -q -f name=${NETWORK_NAME})" ]]; then
echo -e "\033[34;1mINFO:\033[0m $NETWORK_NAME is already deleted\033[0m"
exit 0
fi
containers=$(docker network inspect -f '{{ range $key, $value := .Containers }}{{ printf "%s\n" .Name}}{{ end }}' ${NETWORK_NAME})
while read -r container; do
cleanup_node "$container"
done <<< "$containers"
cleanup_network "$NETWORK_NAME"
echo -e "\033[32;1mSUCCESS:\033[0m Cleaned up and exiting\033[0m"
exit 0
fi
echo -e "\033[34;1mINFO:\033[0m Making sure previous run leftover infrastructure is removed \033[0m"
cleanup 1
echo -e "\033[34;1mINFO:\033[0m Creating network $NETWORK_NAME if it does not exist already \033[0m"
docker network inspect "$NETWORK_NAME" > /dev/null 2>&1 || docker network create "$NETWORK_NAME"
environment=($(cat <<-END
--env discovery.zen.ping.unicast.hosts=${NODE_NAME}
--env xpack.security.enabled=false
--env xpack.monitoring.enabled=false
--env xpack.ml.enabled=false
--env cluster.routing.allocation.disk.threshold_enabled=false
--env bootstrap.memory_lock=true
--env node.attr.testattr=test
--env path.repo=/tmp
--env repositories.url.allowed_urls=http://snapshot.test*
END
))
volumes=($(cat <<-END
--volume $volume_name:/usr/share/elasticsearch/data
END
))
# if [[ "$ELASTICSEARCH_VERSION" != *oss* ]]; then
# environment+=($(cat <<-END
# --env ELASTIC_PASSWORD=$ELASTIC_PASSWORD
# --env xpack.license.self_generated.type=trial
# --env xpack.security.enabled=true
# --env xpack.security.http.ssl.enabled=true
# --env xpack.security.http.ssl.verification_mode=certificate
# --env xpack.security.http.ssl.key=certs/testnode.key
# --env xpack.security.http.ssl.certificate=certs/testnode.crt
# --env xpack.security.http.ssl.certificate_authorities=certs/ca.crt
# --env xpack.security.transport.ssl.enabled=true
# --env xpack.security.transport.ssl.key=certs/testnode.key
# --env xpack.security.transport.ssl.certificate=certs/testnode.crt
# --env xpack.security.transport.ssl.certificate_authorities=certs/ca.crt
# END
# ))
# volumes+=($(cat <<-END
# --volume $SSL_CERT:/usr/share/elasticsearch/config/certs/testnode.crt
# --volume $SSL_KEY:/usr/share/elasticsearch/config/certs/testnode.key
# --volume $SSL_CA:/usr/share/elasticsearch/config/certs/ca.crt
# END
# ))
# fi
url="http://$NODE_NAME"
if [[ "$ELASTICSEARCH_VERSION" != *oss* ]]; then
url="https://elastic:$ELASTIC_PASSWORD@$NODE_NAME"
fi
echo -e "\033[34;1mINFO:\033[0m Starting container $NODE_NAME \033[0m"
set -x
docker run \
--name "$NODE_NAME" \
--network "$NETWORK_NAME" \
--env ES_JAVA_OPTS=-"Xms1g -Xmx1g" \
"${environment[@]}" \
"${volumes[@]}" \
--publish "$HTTP_PORT":9200 \
--ulimit nofile=65536:65536 \
--ulimit memlock=-1:-1 \
--detach="$DETACH" \
--health-cmd="curl --silent --insecure --fail $url:9200/_cluster/health || exit 1" \
--health-interval=2s \
--health-retries=20 \
--health-timeout=2s \
--rm \
docker.elastic.co/elasticsearch/"$ELASTICSEARCH_VERSION";
set +x
if [[ "$DETACH" == "true" ]]; then
until [[ "$(docker inspect -f "{{.State.Health.Status}}" ${NODE_NAME})" != "starting" ]]; do
sleep 2;
echo ""
echo -e "\033[34;1mINFO:\033[0m waiting for node $NODE_NAME to be up\033[0m"
done;
# Always show the node getting started logs, this is very useful both on CI as well as while developing
docker logs "$NODE_NAME"
if [[ "$(docker inspect -f "{{.State.Health.Status}}" ${NODE_NAME})" != "healthy" ]]; then
cleanup 1
echo
echo -e "\033[31;1mERROR:\033[0m Failed to start ${ELASTICSEARCH_VERSION} in detached mode beyond health checks\033[0m"
echo -e "\033[31;1mERROR:\033[0m dumped the docker log before shutting the node down\033[0m"
exit 1
else
echo
echo -e "\033[32;1mSUCCESS:\033[0m Detached and healthy: ${NODE_NAME} on docker network: ${NETWORK_NAME}\033[0m"
echo -e "\033[32;1mSUCCESS:\033[0m Running on: ${url/$NODE_NAME/localhost}:${HTTP_PORT}\033[0m"
exit 0
fi
fi

View File

@ -8,6 +8,7 @@
# #
# - $ELASTICSEARCH_VERSION # - $ELASTICSEARCH_VERSION
# - $NODE_JS_VERSION # - $NODE_JS_VERSION
# - $TEST_SUITE
# #
set -eo pipefail set -eo pipefail
@ -18,48 +19,49 @@ export CODECOV_TOKEN=$(vault read -field=token secret/clients-ci/elasticsearch-j
unset VAULT_ROLE_ID VAULT_SECRET_ID VAULT_TOKEN unset VAULT_ROLE_ID VAULT_SECRET_ID VAULT_TOKEN
set -x set -x
function cleanup {
docker container rm --force --volumes elasticsearch-oss > /dev/null 2>&1 || true
docker container rm --force --volumes elasticsearch-js-oss > /dev/null 2>&1 || true
docker network rm esnet-oss > /dev/null
}
trap cleanup EXIT
# create network and volume
docker network create esnet-oss
# create client image
docker build \ docker build \
--file .ci/Dockerfile \ --file .ci/Dockerfile \
--tag elastic/elasticsearch-js \ --tag elastic/elasticsearch-js \
--build-arg NODE_JS_VERSION=${NODE_JS_VERSION} \ --build-arg NODE_JS_VERSION=${NODE_JS_VERSION} \
. .
# run elasticsearch oss NODE_NAME="es1"
repo=$(pwd)
testnodecrt="/.ci/certs/testnode.crt"
testnodekey="/.ci/certs/testnode.key"
cacrt="/.ci/certs/ca.crt"
elasticsearch_image="elasticsearch"
elasticsearch_url="https://elastic:changeme@${NODE_NAME}:9200"
if [[ $TEST_SUITE != "xpack" ]]; then
elasticsearch_image="elasticsearch"
elasticsearch_url="http://${NODE_NAME}:9200"
fi
docker network create esnet
docker run \ docker run \
--rm \ --rm \
--env "node.attr.testattr=test" \ --env "node.attr.testattr=test" \
--env "path.repo=/tmp" \ --env "path.repo=/tmp" \
--env "repositories.url.allowed_urls=http://snapshot.*" \ --env "repositories.url.allowed_urls=http://snapshot.*" \
--env "discovery.zen.ping.unicast.hosts=elasticsearch" \ --env "discovery.zen.ping.unicast.hosts=${NODE_NAME}" \
--env "xpack.security.enabled=false" \ --env "xpack.security.enabled=false" \
--env "xpack.monitoring.enabled=false" \ --env "xpack.monitoring.enabled=false" \
--env "xpack.ml.enabled=false" \ --env "xpack.ml.enabled=false" \
--env ES_JAVA_OPTS="-Xms1g -Xmx1g" \ --env ES_JAVA_OPTS="-Xms1g -Xmx1g" \
--network=esnet-oss \ --network=esnet \
--name=elasticsearch-oss \ --name=$NODE_NAME \
--detach \ --detach \
docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION} docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION}
# run the client unit and oss integration test
docker run \ docker run \
--network=esnet-oss \ --network=esnet \
--env "TEST_ES_SERVER=http://elasticsearch-oss:9200" \ --env "TEST_ES_SERVER=${elasticsearch_url}" \
--env "CODECOV_TOKEN" \ --env "CODECOV_TOKEN" \
--volume $(pwd):/usr/src/app \ --volume $(pwd):/usr/src/app \
--volume /usr/src/app/node_modules \ --volume /usr/src/app/node_modules \
--name elasticsearch-js-oss \ --name elasticsearch-js \
--rm \ --rm \
elastic/elasticsearch-js \ elastic/elasticsearch-js \
npm run ci npm run ci

View File

@ -7,4 +7,7 @@ NODE_JS_VERSION:
- 10 - 10
- 8 - 8
TEST_SUITE:
- oss
exclude: ~ exclude: ~

6
.gitignore vendored
View File

@ -50,8 +50,6 @@ package-lock.json
# elasticsearch repo or binary files # elasticsearch repo or binary files
elasticsearch* elasticsearch*
# Generated typings, we don't commit them
# because we should copy them in the main .d.ts file
api/generated.d.ts
test/benchmarks/macro/fixtures/* test/benchmarks/macro/fixtures/*
*-junit.xml

View File

@ -1,7 +1,3 @@
dist: trusty
sudo: required
language: node_js language: node_js
node_js: node_js:
@ -9,11 +5,21 @@ node_js:
- "10" - "10"
- "8" - "8"
cache:
npm: false
os:
- windows
- linux
install: install:
- npm install - npm install
script: script:
- npm run license-checker && npm run test - if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm run license-checker; fi
- npm run lint
- npm run test:coverage
- npm run test:types
notifications: notifications:
email: email:

258
README.md
View File

@ -1,23 +1,24 @@
<img align="right" width="auto" height="auto" src="https://www.elastic.co/static-res/images/elastic-logo-200.png"> <img align="right" width="auto" height="auto" src="https://www.elastic.co/static-res/images/elastic-logo-200.png">
# @elastic/elasticsearch # Elasticsearch Node.js client
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) [![Build Status](https://clients-ci.elastic.co/job/elastic+elasticsearch-js+master/badge/icon)](https://clients-ci.elastic.co/job/elastic+elasticsearch-js+master/) [![codecov](https://codecov.io/gh/elastic/elasticsearch-js/branch/master/graph/badge.svg)](https://codecov.io/gh/elastic/elasticsearch-js) [![NPM downloads](https://img.shields.io/npm/dm/@elastic/elasticsearch.svg?style=flat)](https://www.npmjs.com/package/@elastic/elasticsearch) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) [![Build Status](https://clients-ci.elastic.co/buildStatus/icon?job=elastic%2Belasticsearch-js%2Bmaster)](https://clients-ci.elastic.co/view/Javascript/job/elastic+elasticsearch-js+master/) [![codecov](https://codecov.io/gh/elastic/elasticsearch-js/branch/master/graph/badge.svg)](https://codecov.io/gh/elastic/elasticsearch-js) [![NPM downloads](https://img.shields.io/npm/dm/@elastic/elasticsearch.svg?style=flat)](https://www.npmjs.com/package/@elastic/elasticsearch)
---
**Note:** In the past months we have worked on the new Elasticsearch Node.js client, and if you want you can already try it by following the instructions below, while if you're going to use the legacy one or report an issue, please check out [elastic/elasticsearch-js-legacy](https://github.com/elastic/elasticsearch-js-legacy).
---
The official Node.js client for Elasticsearch. The official Node.js client for Elasticsearch.
---
**Note:** In the past months we have worked on the new Elasticsearch Node.js client and you can use it by following the instructions below. If you're going to use the legacy one or report an issue, however, please check out [elastic/elasticsearch-js-legacy](https://github.com/elastic/elasticsearch-js-legacy).
---
## Features ## Features
- One-to-one mapping with REST API. - One-to-one mapping with REST API.
- Generalized, pluggable architecture. - Generalized, pluggable architecture.
- Configurable, automatic discovery of cluster nodes. - Configurable, automatic discovery of cluster nodes.
- Persistent, Keep-Alive connections. - Persistent, Keep-Alive connections.
- Load balancing (with pluggable selection strategy) across all available nodes. - Load balancing across all available nodes.
- Child client support.
- TypeScript support out of the box. - TypeScript support out of the box.
## Install ## Install
@ -29,62 +30,49 @@ npm install @elastic/elasticsearch
The minimum supported version of Node.js is `v8`. The minimum supported version of Node.js is `v8`.
The library is compatible with all Elasticsearch versions since 5.x, but you should use the same major version of the Elasticsearch instance that you are using. The library is compatible with all Elasticsearch versions since 5.x, and you should use the same major version of the Elasticsearch instance that you are using.
| Elasticsearch Version | Client Version |
| --------------------- |----------------|
| `master` | `master` |
| `7.x` | `7.x` |
| `6.x` | `6.x` |
| `5.x` | `5.x` |
To install a specific major of the client, run the following command:
``` ```
# Elasticsearch 7.x npm install @elastic/elasticsearch@<major>
@elastic/elasticsearch@7
# Elasticsearch 6.x
@elastic/elasticsearch@6
# Elasticsearch 5.x
@elastic/elasticsearch@5
``` ```
#### Install multiple versions #### Browser
If you are using multiple versions of Elasticsearch, you need to use multiple versions of the client. In the past, install multiple versions of the same package was not possible, but with `npm v6.9`, you can do that via aliasing.
The command you must run to install different version of the client is: WARNING: There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues.
```sh We recommend that you write a lightweight proxy that uses this client instead.
npm install <alias>@npm:@elastic/elasticsearch@<version>
```
So for example if you need to install `7.x` and `6.x`, you will run
```sh
npm install es6@npm:@elastic/elasticsearch@6
npm install es7@npm:@elastic/elasticsearch@7
```
And your `package.json` will look like the following:
```json
"dependencies": {
"es6": "npm:@elastic/elasticsearch@^6.7.0",
"es7": "npm:@elastic/elasticsearch@^7.0.0"
}
```
And finally, you will require the packages from your code by using the alias you have defined.
```js
const { Client: Client6 } = require('es6')
const { Client: Client7 } = require('es7')
const client6 = new Client6({ node: 'http://localhost:9200' }) ## Documentation
const client7 = new Client7({ node: 'http://localhost:9201' })
client6.info(console.log) - [Introduction](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/introduction.html)
client7.info(console.log) - [Usage](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-usage.html)
``` - [Client configuration](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-configuration.html)
- [API reference](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html)
- [Breaking changes coming from the old client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/breaking-changes.html)
- [Authentication](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/auth-reference.html)
- [Observability](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/observability.html)
- [Creating a child client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/child-client.html)
- [Extend the client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/extend-client.html)
- [Typescript support](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/typescript.html)
- [Examples](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/examples.html)
Finally, if you want to install the client for the next version of Elasticsearch *(the one that lives in Elasticsearchs master branch)*, you can use the following command: ## Quick start
```sh
npm install esmaster@github:elastic/elasticsearch-js
```
## Usage
You can find the full documentation in our [docs](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html) website.
First of all, require the client and initialize it:
```js ```js
const { Client } = require('@elastic/elasticsearch') const { Client } = require('@elastic/elasticsearch')
const client = new Client({ node: 'http://localhost:9200' }) const client = new Client({ node: 'http://localhost:9200' })
```
You can use both the callback-style API and the promise-style API, both behave the same way.
```js
// promise API // promise API
const result = await client.search({ const result = await client.search({
index: 'my-index', index: 'my-index',
@ -109,84 +97,98 @@ The returned value of **every** API call is formed as follows:
meta: object meta: object
} }
``` ```
### Client options
The client is designed to be easily configured as you see fit for your needs, following you can see all the possible options that you can use to configure it. Let's see a complete example!
```ts
{
// the Elasticsearch endpoint to use
node: string | string[];
// alias of above
nodes: string | string[];
// custom connection class
Connection: typeof Connection;
// custom connection pool class
ConnectionPool: typeof ConnectionPool;
// custom transport class
Transport: typeof Transport;
// custom serializer class
Serializer: typeof Serializer;
// max number of retries for each request
maxRetries: number;
// max request timeout for each request
requestTimeout: number;
// max ping timeout for each request
pingTimeout: number;
// perform a sniff operation every `n` milliseconds
sniffInterval: number;
// perform a sniff once the client is started
sniffOnStart: boolean;
// custom sniff endpoint, defaults `_nodes/_all/http`
sniffEndpoint: string;
// perform a sniff on connection fault
sniffOnConnectionFault: boolean;
// configurethe node resurrection strategy, default `ping`
resurrectStrategy: 'ping' | 'optimistic' | 'none';
// adds `accept-encoding` header to every request
suggestCompression: boolean;
// enable gzip request body compression
compression: 'gzip';
// ssl configuraton
ssl: http.SecureContextOptions;
// http agent options
agent: http.AgentOptions;
// filters which node not to use for a request
nodeFilter: nodeFilterFn;
// custom selection strategy, defaults `round-robin`
nodeSelector: nodeSelectorFn | string;
// function to generate the request id for every request
generateRequestId: generateRequestIdFn;
// name to identify the client instance in the events
name: string;
}
```
### Request specific options
If needed you can pass request specific options in a second object:
```js ```js
// promise API 'use strict'
const result = await client.search({
index: 'my-index', const { Client } = require('@elastic/elasticsearch')
body: { foo: 'bar' } const client = new Client({ node: 'http://localhost:9200' })
}, {
ignore: [404], async function run () {
maxRetries: 3 // Let's start by indexing some data
}) await client.index({
``` index: 'game-of-thrones',
The supported *request specific options* are: // type: '_doc', // uncomment this line if you are using Elasticsearch ≤ 6
```ts body: {
{ character: 'Ned Stark',
ignore: [number], // default `null` quote: 'Winter is coming.'
requestTimeout: number, // client default }
maxRetries: number, // default `5` })
asStream: boolean, // default `false`
compression: string, // default `false` await client.index({
headers: object, // default `null` index: 'game-of-thrones',
querystring: object // default `null`, // type: '_doc', // uncomment this line if you are using Elasticsearch ≤ 6
context: object // default `null`, body: {
id: any // default incr. integer character: 'Daenerys Targaryen',
quote: 'I am the blood of the dragon.'
}
})
await client.index({
index: 'game-of-thrones',
// type: '_doc', // uncomment this line if you are using Elasticsearch ≤ 6
body: {
character: 'Tyrion Lannister',
quote: 'A mind needs books like a sword needs a whetstone.'
}
})
// here we are forcing an index refresh, otherwise we will not
// get any result in the consequent search
await client.indices.refresh({ index: 'game-of-thrones' })
// Let's search!
const { body } = await client.search({
index: 'game-of-thrones',
// type: '_doc', // uncomment this line if you are using Elasticsearch ≤ 6
body: {
query: {
match: { quote: 'winter' }
}
}
})
console.log(body.hits.hits)
} }
run().catch(console.log)
```
## Install multiple versions
If you are using multiple versions of Elasticsearch, you need to use multiple versions of the client. In the past, install multiple versions of the same package was not possible, but with `npm v6.9`, you can do that via aliasing.
The command you must run to install different version of the client is:
```sh
npm install <alias>@npm:@elastic/elasticsearch@<version>
```
So for example if you need to install `7.x` and `6.x`, you will run
```sh
npm install es6@npm:@elastic/elasticsearch@6
npm install es7@npm:@elastic/elasticsearch@7
```
And your `package.json` will look like the following:
```json
"dependencies": {
"es6": "npm:@elastic/elasticsearch@^6.7.0",
"es7": "npm:@elastic/elasticsearch@^7.0.0"
}
```
You will require the packages from your code by using the alias you have defined.
```js
const { Client: Client6 } = require('es6')
const { Client: Client7 } = require('es7')
const client6 = new Client6({ node: 'http://localhost:9200' })
const client7 = new Client7({ node: 'http://localhost:9201' })
client6.info(console.log)
client7.info(console.log)
```
Finally, if you want to install the client for the next version of Elasticsearch *(the one that lives in Elasticsearchs master branch)*, you can use the following command:
```sh
npm install esmaster@github:elastic/elasticsearch-js
``` ```
## License ## License

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

View File

@ -1,21 +1,6 @@
/* // Licensed to Elasticsearch B.V under one or more agreements.
* Licensed to Elasticsearch B.V. under one or more contributor // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
* license agreements. See the NOTICE file distributed with // See the LICENSE file in the project root for more information
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
'use strict' 'use strict'

Some files were not shown because too many files have changed in this diff Show More