73ba90b863
The general use case is to provide only the {type} to the bulk and even that may not be specified. However, by setting it up as /_x-pack/monitoring/{type}/_bulk /_x-pack/monitoring/{index}/{type}/_bulk it fails to properly recognize the {type} parameter because the PathTrie that gets generated sees two wildcards at the same location and the last one specified wins -- {index}. As a result, it's impossible to only set the {type} without making the PathTrie logic convoluted for a niche use case (a list to try instead of a single path). his fixes the issue by removing the completely unused option: you can no longer specify {index} outside of individual bulk indexing operations. If we see a need to bring it back, then we can add it as an API param, but that is an unusual place for the index field and I do not expect it to be needed that frequently. Original commit: elastic/x-pack-elasticsearch@40d0d05404 |
||
---|---|---|
buildSrc | ||
dev-tools | ||
elasticsearch | ||
.dir-locals.el | ||
.projectile | ||
GRADLE.CHEATSHEET | ||
LICENSE.txt | ||
README.asciidoc | ||
build.gradle | ||
gradle.properties | ||
settings.gradle |
README.asciidoc
= Elasticsearch X Plugins A set of Elastic's commercial plugins: - License - Security - Watcher - Monitoring = Setup You must checkout x-plugins and elasticsearch in the same directory as siblings. This elasticsearch checkout will be used when building x-plugins. = Build - Run unit tests: + [source, txt] ----- gradle clean test ----- - Run all tests: + [source, txt] ----- gradle clean check ----- - Run integration tests: + [source, txt] ----- gradle clean integTest ----- - Package X-Pack (wihtout running tests) + [source, txt] ----- gradle clean assemble ----- - Install X-Pack (wihtout running tests) + [source, txt] ----- gradle clean install ----- - If you don't work on the UI side of x-plugins, you can force gradle to skip building kibana by adding `xpack.kibana.build=false` to your `~/.gradle/gradle.properties`. Alternatively you add `-Pxpack.kibana.build=false` on the command line if you only want to do this on individual builds (or `-Pxpack.kibana.build=true` if you need to override having added this to your `gradle.properties`).