-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add conditional token filter to elasticsearch #31958
Commits on Jul 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e5b20de - Browse repository at this point
Copy the full SHA e5b20deView commit details -
Configuration menu - View commit details
-
Copy full SHA for da0fd1e - Browse repository at this point
Copy the full SHA da0fd1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for df9bffc - Browse repository at this point
Copy the full SHA df9bffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 402ed36 - Browse repository at this point
Copy the full SHA 402ed36View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7c21d - Browse repository at this point
Copy the full SHA fb7c21dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8f0170 - Browse repository at this point
Copy the full SHA d8f0170View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcee3f0 - Browse repository at this point
Copy the full SHA bcee3f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bba5939 - Browse repository at this point
Copy the full SHA bba5939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21cd02f - Browse repository at this point
Copy the full SHA 21cd02fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4315682 - Browse repository at this point
Copy the full SHA 4315682View commit details
Commits on Jul 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 52955df - Browse repository at this point
Copy the full SHA 52955dfView commit details
Commits on Jul 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for dd139c7 - Browse repository at this point
Copy the full SHA dd139c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5deff - Browse repository at this point
Copy the full SHA 1d5deffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57a73f2 - Browse repository at this point
Copy the full SHA 57a73f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 609951b - Browse repository at this point
Copy the full SHA 609951bView commit details
Commits on Jul 18, 2018
-
Re-instate link in StringFunctionUtils javadocs
The previous errors in compileJava were not cause by the brackets but my the content of the @link section. Corrected this so its a working javadoc link again.
Configuration menu - View commit details
-
Copy full SHA for 801a704 - Browse repository at this point
Copy the full SHA 801a704View commit details -
Configuration menu - View commit details
-
Copy full SHA for f923d9c - Browse repository at this point
Copy the full SHA f923d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a21fb82 - Browse repository at this point
Copy the full SHA a21fb82View commit details -
[Rollup] Use composite's missing_bucket (#31402)
We can leverage the composite agg's new `missing_bucket` feature on terms groupings. This means the aggregation criteria used in the indexer will now return null buckets for missing keys. Because all buckets are now returned (even if a key is null), we can guarantee correct doc counts with "combined" jobs (where a job rolls up multiple schemas). This was previously impossible since composite would ignore documents that didn't have _all_ the keys, meaning non-overlapping schemas would cause composite to return no buckets. Note: date_histo does not use `missing_bucket`, since a timestamp is always required. The docs have been adjusted to recommend a single, combined job. It also makes reference to the previous issue to help users that are upgrading (rather than just deleting the sections).
Configuration menu - View commit details
-
Copy full SHA for 62fea58 - Browse repository at this point
Copy the full SHA 62fea58View commit details -
Test: Fix a second case of bad watch creation
There was still a case with a null text that allowed for 0 attachments to be created. This commit ensures that greater than zero are created if the text is null. Otherwise, it uses the same logic to create 0 to 3 random attachments. Closes #31948
Configuration menu - View commit details
-
Copy full SHA for 35a6774 - Browse repository at this point
Copy the full SHA 35a6774View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9203e50 - Browse repository at this point
Copy the full SHA 9203e50View commit details -
Add second level of field collapsing (#31808)
* Put second level collapse under inner_hits Closes #24855
Configuration menu - View commit details
-
Copy full SHA for 849e690 - Browse repository at this point
Copy the full SHA 849e690View commit details -
Mute ML AutodetectMemoryLimitIT#testTooManyPartitions on Windows (#32044
) Adding assumption to not run this test on Windows temporarily. Relates to #32033
Configuration menu - View commit details
-
Copy full SHA for de213a8 - Browse repository at this point
Copy the full SHA de213a8View commit details -
Watcher: cleanup ensureWatchExists use (#31926)
Previously, the ensureWatchExists was overridable. This commit makes it final so that it cannot be overridden, and cleans up some redundant code in the process.
Configuration menu - View commit details
-
Copy full SHA for 3bbc8c6 - Browse repository at this point
Copy the full SHA 3bbc8c6View commit details -
Add secure setting for watcher email password (#31620)
Other watcher actions already account for secure settings in their sensitive settings, whereas the email sending action did not. This adds the ability to optionally set a secure_password for email accounts.
Configuration menu - View commit details
-
Copy full SHA for 4440df5 - Browse repository at this point
Copy the full SHA 4440df5View commit details -
HLRC: Add xpack usage api (#31975)
This commit adds the _xpack/usage api to the high level rest client. Currently in the transport api, the usage data is exposed in a limited fashion, at most giving one level of helper methods for the inner keys of data, but then exposing thos subobjects as maps of objects. Rather than making parsers for every set of usage data from each feature, this PR exposes the entire set of usage data as a map of maps.
Configuration menu - View commit details
-
Copy full SHA for 2ab7db3 - Browse repository at this point
Copy the full SHA 2ab7db3View commit details -
Adds a new auto-interval date histogram (#28993)
* Adds a new auto-interval date histogram This change adds a new type of histogram aggregation called `auto_date_histogram` where you can specify the target number of buckets you require and it will find an appropriate interval for the returned buckets. The aggregation works by first collecting documents in buckets at second interval, when it has created more than the target number of buckets it merges these buckets into minute interval bucket and continues collecting until it reaches the target number of buckets again. It will keep merging buckets when it exceeds the target until either collection is finished or the highest interval (currently years) is reached. A similar process happens at reduce time. This aggregation intentionally does not support min_doc_count, offest and extended_bounds to keep the already complex logic from becoming more complex. The aggregation accepts sub-aggregations but will always operate in `breadth_first` mode deferring the computation of sub-aggregations until the final buckets from the shard are known. min_doc_count is effectively hard-coded to zero meaning that we will insert empty buckets where necessary. Closes #9572 * Adds documentation * Added sub aggregator test * Fixes failing docs test * Brings branch up to date with master changes * trying to get tests to pass again * Fixes multiBucketConsumer accounting * Collects more buckets than needed on shards This gives us more options at reduce time in terms of how we do the final merge of the buckeets to produce the final result * Revert "Collects more buckets than needed on shards" This reverts commit 993c782. * Adds ability to merge within a rounding * Fixes nonn-timezone doc test failure * Fix time zone tests * iterates on tests * Adds test case and documentation changes Added some notes in the documentation about the intervals that can bbe returned. Also added a test case that utilises the merging of conseecutive buckets * Fixes performance bug The bug meant that getAppropriate rounding look a huge amount of time if the range of the data was large but also sparsely populated. In these situations the rounding would be very low so iterating through the rounding values from the min key to the max keey look a long time (~120 seconds in one test). The solution is to add a rough estimate first which chooses the rounding based just on the long values of the min and max keeys alone but selects the rounding one lower than the one it thinks is appropriate so the accurate method can choose the final rounding taking into account the fact that intervals are not always fixed length. Thee commit also adds more tests * Changes to only do complex reduction on final reduce * merge latest with master * correct tests and add a new test case for 10k buckets * refactor to perform bucket number check in innerBuild * correctly derive bucket setting, update tests to increase bucket threshold * fix checkstyle * address code review comments * add documentation for default buckets * fix typo
Configuration menu - View commit details
-
Copy full SHA for 2183fff - Browse repository at this point
Copy the full SHA 2183fffView commit details -
lazy snapshot repository initialization (#31606)
lazy snapshot repository initialization
Configuration menu - View commit details
-
Copy full SHA for 0e7a6b4 - Browse repository at this point
Copy the full SHA 0e7a6b4View commit details -
Watcher: Make settings reloadable (#31746)
This commit allows for rebuilding watcher secure secrets via the reload_secure_settings API call. The commit also renames a method in the Notification Service to make it a bit more readable.
Configuration menu - View commit details
-
Copy full SHA for 315999d - Browse repository at this point
Copy the full SHA 315999dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b959534 - Browse repository at this point
Copy the full SHA b959534View commit details -
Clean Up Snapshot Create Rest API (#31779)
Make SnapshotInfo and CreateSnapshotResponse parsers lenient for backwards compatibility. Remove extraneous fields from CreateSnapshotRequest toXContent.
Configuration menu - View commit details
-
Copy full SHA for 94d3311 - Browse repository at this point
Copy the full SHA 94d3311View commit details -
[Rollup] Histo group config should support scaled_floats (#32048)
Metric config already whitelist scaled_floats, but it wasn't added to the histo group config. This centralizes the mapping types map so that both metrics and histo (and any future configs) use the same map. Fixes #32035
Configuration menu - View commit details
-
Copy full SHA for 2945c3a - Browse repository at this point
Copy the full SHA 2945c3aView commit details -
Relates to #32055
Configuration menu - View commit details
-
Copy full SHA for e48de6a - Browse repository at this point
Copy the full SHA e48de6aView commit details -
Replace Ingest ScriptContext with Custom Interface (#32003)
* Replace Ingest ScriptContext with Custom Interface * Make org.elasticsearch.ingest.common.ScriptProcessorTests#testScripting more precise * Don't mock script factory in ScriptProcessorTests * Adjust mock script plugin in IT for new API
Configuration menu - View commit details
-
Copy full SHA for ec470f2 - Browse repository at this point
Copy the full SHA ec470f2View commit details -
Add nio http transport to security plugin (#32018)
This is related to #27260. It adds the SecurityNioHttpServerTransport to the security plugin. It randomly uses the nio http transport in security integration tests.
Configuration menu - View commit details
-
Copy full SHA for f446f91 - Browse repository at this point
Copy the full SHA f446f91View commit details -
Fix compile issues introduced by merge (#32058)
The build was broken due to some issues with the merging of #32018. A method that was public went private before the PR was merged. That did not cause a merge conflict (so the PR was merged successfully). But it did cause the build to fail.
Configuration menu - View commit details
-
Copy full SHA for bd20e99 - Browse repository at this point
Copy the full SHA bd20e99View commit details -
SCRIPTING: Remove unused MultiSearchTemplateRequestBuilder (#32049)
* Ever since 46e8d97 this class is unused
Configuration menu - View commit details
-
Copy full SHA for 71cd43b - Browse repository at this point
Copy the full SHA 71cd43bView commit details -
Cleanup Duplication in
PainlessScriptEngine
(#31991)* Cleanup Duplication in `PainlessScriptEngine` * Extract duplicate building of compiler settings to method * Remove dead method params + dead constant in `ScriptProcessor`
Configuration menu - View commit details
-
Copy full SHA for e045ad6 - Browse repository at this point
Copy the full SHA e045ad6View commit details -
Fix broken OpenLDAP Vagrant QA test
This was broken due to c662565 but the problem didn't get detected as CI builds typically don't run vagrant tests
Configuration menu - View commit details
-
Copy full SHA for dabbba1 - Browse repository at this point
Copy the full SHA dabbba1View commit details -
Turn off real-mem breaker in single node tests
With this commit we disable the real-memory circuit breaker in tests that inherit from `ESSingleNodeTestCase`. As this breaker is based on real memory usage over which we have no (full) control in tests and their purpose is also not to test the circuit breaker, we use the deterministic circuit breaker implementation that only accounts for explicitly reserved memory. Closes #32047 Relates #32071
Configuration menu - View commit details
-
Copy full SHA for 82e8fce - Browse repository at this point
Copy the full SHA 82e8fceView commit details -
Turn off real-mem breaker in REST tests
With this commit we disable the real-memory circuit breaker in REST tests as this breaker is based on real memory usage over which we have no (full) control in tests and the REST client is not yet ready to retry on circuit breaker exceptions. This is only meant as a temporary measure to avoid spurious test failures while we ensure that the REST client can handle those situations appropriately. Closes #32050 Relates #31767 Relates #31986 Relates #32074
Configuration menu - View commit details
-
Copy full SHA for 9d48815 - Browse repository at this point
Copy the full SHA 9d48815View commit details -
Configuration menu - View commit details
-
Copy full SHA for 040bc9d - Browse repository at this point
Copy the full SHA 040bc9dView commit details -
Remove unused params from SSource and Walker (#31935)
The "source" field in SSource seems unused. If removed, it can also be removed from the ctor, which in turn makes is possible to delete the sourceText in the Walker class.
Configuration menu - View commit details
-
Copy full SHA for 142d24a - Browse repository at this point
Copy the full SHA 142d24aView commit details -
[Tests] Fix failure due to changes exception message (#32036)
Java 11 seems to get more verbose on the ClassCastException we check for in SearchDocumentationIT. This changes the test from asserting the exact exception message to only checking the two classes involved are part of the message. Closes #32029
Configuration menu - View commit details
-
Copy full SHA for ce8b3e3 - Browse repository at this point
Copy the full SHA ce8b3e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ad7a1 - Browse repository at this point
Copy the full SHA a1ad7a1View commit details -
Unmute field collapsing rest tests
BWC tests can run now that master and 6x branch are aligned. Closes #32055
Configuration menu - View commit details
-
Copy full SHA for bbe1b7c - Browse repository at this point
Copy the full SHA bbe1b7cView commit details -
Ensure only parent breaker trips in unit test
With this commit we raise the limit of the child circuit breaker used in the unit test for the circuit breaker service so it is high enough to trip only the parent circuit breaker. The previous limit was 300 bytes but theoretically (considering overhead) we could reach 346 bytes. Thus any value larger than 300 bytes could trip the child circuit breaker leading to spurious failures. Relates #31767
Configuration menu - View commit details
-
Copy full SHA for 391641c - Browse repository at this point
Copy the full SHA 391641cView commit details -
[Rollup] Fix duplicate field names in test (#32075)
This commit ensures that random field names do not clash with the explicit field names set by the tests. Closes #32067
Configuration menu - View commit details
-
Copy full SHA for 6ec52fe - Browse repository at this point
Copy the full SHA 6ec52feView commit details -
[TEST] Consistent algorithm usage (#32077)
Ensure that the same algorithm is used for settings and change password requests for consistency, even if we do not expext to reach the code where the algorithm is checked for now. Completes a7eaa40
Configuration menu - View commit details
-
Copy full SHA for ced669b - Browse repository at this point
Copy the full SHA ced669bView commit details -
[Rollup] Replace RollupIT with a ESRestTestCase version (#31977)
The old RollupIT was a node IT, an flaky for a number of reasons. This new version is an ESRestTestCase and should be a little more robust. This was added to the multi-node QA tests as that seemed like the most appropriate location. It didn't seem necessary to create a whole new QA module. Note: The only test that was ported was the "Big" test for validating a larger dataset. The rest of the tests are represented in existing yaml tests. Closes #31258 Closes #30232 Related to #30290
Configuration menu - View commit details
-
Copy full SHA for e38e69c - Browse repository at this point
Copy the full SHA e38e69cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9fbe7 - Browse repository at this point
Copy the full SHA 4a9fbe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f130a2 - Browse repository at this point
Copy the full SHA 5f130a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd0279 - Browse repository at this point
Copy the full SHA 1dd0279View commit details -
Watcher: Store username on watch execution (#31873)
There is currently no way to see what user executed a watch. This commit adds the decrypted username to each execution in the watch history, in a new field "user". Closes #31772
Configuration menu - View commit details
-
Copy full SHA for 53f029b - Browse repository at this point
Copy the full SHA 53f029bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e325526 - Browse repository at this point
Copy the full SHA e325526View commit details -
Configuration menu - View commit details
-
Copy full SHA for e514ad0 - Browse repository at this point
Copy the full SHA e514ad0View commit details -
[test] turn on host io cache for opensuse (#32053)
The hope is that this will resolve the problems with very slow io we're seeing on this box in #30295
Configuration menu - View commit details
-
Copy full SHA for 50d8fa8 - Browse repository at this point
Copy the full SHA 50d8fa8View commit details -
DOCS: put LIMIT 10 to the SQL query (#32065)
Provides a more precise equivalent SQL query for the aggregation example in the getting started guide.
Configuration menu - View commit details
-
Copy full SHA for c0ffec7 - Browse repository at this point
Copy the full SHA c0ffec7View commit details -
SQL: allow LEFT and RIGHT as function names (#32066)
Due to the way ANTLR works, any declared tokens need to be accounted for manually inside function names (otherwise a different rule gets applied). Fix #32046
Configuration menu - View commit details
-
Copy full SHA for ee4ef86 - Browse repository at this point
Copy the full SHA ee4ef86View commit details -
Revert "[test] disable packaging tests for suse boxes"
This reverts commit 30d6fd3.
Configuration menu - View commit details
-
Copy full SHA for 9371e77 - Browse repository at this point
Copy the full SHA 9371e77View commit details -
[Rollup] Add new capabilities endpoint for concrete rollup indices (#…
…30401) This introduces a new GetRollupIndexCaps API which allows the user to retrieve rollup capabilities of a specific rollup index (or index pattern). This is distinct from the existing RollupCaps endpoint. - Multiple jobs can be stored in multiple indices and point to a single target data index pattern (logstash-*). The existing API finds capabilities/config of all jobs matching that data index pattern. - One rollup index can hold data from multiple jobs, targeting multiple data index patterns. This new API finds the capabilities based on the concrete rollup indices.
Configuration menu - View commit details
-
Copy full SHA for 780697f - Browse repository at this point
Copy the full SHA 780697fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1106355 - Browse repository at this point
Copy the full SHA 1106355View commit details -
Bypass highlight query terms extraction on empty fields (#32090)
Dealing with empty fields in the highlight phase can slow down the query because the query terms extraction is done independently on each field. This change shortcuts the highlighting performed by the unified highlighter for fields that are not present in the document. In such cases there is nothing to higlight so we don't need to visit the query to build the highligh builder.
Configuration menu - View commit details
-
Copy full SHA for 7ce9926 - Browse repository at this point
Copy the full SHA 7ce9926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff5735 - Browse repository at this point
Copy the full SHA 8ff5735View commit details -
Add Index UUID to
/_stats
Response (#31871)* Add "uuid" field to each index's section in the `/_stats` response * closes #31791
Configuration menu - View commit details
-
Copy full SHA for 97fbe49 - Browse repository at this point
Copy the full SHA 97fbe49View commit details -
[Test] Modify assert statement for ssl handshake (#32072)
There have been changes in error messages for `SSLHandshakeException`. This has caused a couple of failures in our tests. This commit modifies test verification to assert on exception type of class `SSLHandshakeException`. There was another issue in Java11 which caused NPE. The bug has now been fixed on Java11 - early access build 22. Bug Ref: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8206355 Enable the skipped tests due to this bug. Closes #31940
Configuration menu - View commit details
-
Copy full SHA for ca2844f - Browse repository at this point
Copy the full SHA ca2844fView commit details -
Add exclusion option to
keep_types
token filter (#32012)Currently the `keep_types` token filter includes all token types specified using its `types` parameter. Lucenes TypeTokenFilter also provides a second mode where instead of keeping the specified tokens (include) they are filtered out (exclude). This change exposes this option as a new `mode` parameter that can either take the values `include` (the default, if not specified) or `exclude`. Closes #29277
Configuration menu - View commit details
-
Copy full SHA for 8bad2c6 - Browse repository at this point
Copy the full SHA 8bad2c6View commit details -
Fix put mappings java API documentation (#31955)
The current docs of the put-mapping Java API is currently broken. It its current form, it creates an index and uses the whole mapping definition given as a JSON string as the type name. Since we didn't check the index created in the IndicesDocumentationIT so far this went unnoticed. This change adds test to catch this error to the documentation test, changes the documentation so it works correctly now and adds an input validation to PutMappingRequest#buildFromSimplifiedDef() which was used internally to reject calls where no mapping definition is given. Closes #31906
Configuration menu - View commit details
-
Copy full SHA for 89bce93 - Browse repository at this point
Copy the full SHA 89bce93View commit details -
Enable testing in FIPS140 JVM (#31666)
Ensure our tests can run in a FIPS JVM JKS keystores cannot be used in a FIPS JVM as attempting to use one in order to init a KeyManagerFactory or a TrustManagerFactory is not allowed.( JKS keystore algorithms for private key encryption are not FIPS 140 approved) This commit replaces JKS keystores in our tests with the corresponding PEM encoded key and certificates both for key and trust configurations. Whenever it's not possible to refactor the test, i.e. when we are testing that we can load a JKS keystore, etc. we attempt to mute the test when we are running in FIPS 140 JVM. Testing for the JVM is naive and is based on the name of the security provider as we would control the testing infrastrtucture and so this would be reliable enough. Other cases of tests being muted are the ones that involve custom TrustStoreManagers or KeyStoreManagers, null TLS Ciphers and the SAMLAuthneticator class as we cannot sign XML documents in the way we were doing. SAMLAuthenticator tests in a FIPS JVM can be reenabled with precomputed and signed SAML messages at a later stage. IT will be covered in a subsequent PR
Configuration menu - View commit details
-
Copy full SHA for c2ee07b - Browse repository at this point
Copy the full SHA c2ee07bView commit details -
Check that client methods match API defined in the REST spec (#31825)
We have been encountering name mismatches between API defined in our REST spec and method names that have been added to the high-level REST client. We should check this automatically to prevent furher mismatches, and correct all the current ones. This commit adds a test for this and corrects the issues found by it.
Configuration menu - View commit details
-
Copy full SHA for 24547e8 - Browse repository at this point
Copy the full SHA 24547e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a383c2 - Browse repository at this point
Copy the full SHA 5a383c2View commit details -
Updates the build to gradle 4.9 (#32087)
There are fixes to the dependency report, most importantly for us, it still works even if `failOnVersionConflict` would fail the build.
Configuration menu - View commit details
-
Copy full SHA for 5bad3a8 - Browse repository at this point
Copy the full SHA 5bad3a8View commit details -
Relax TermVectors API to work with textual fields other than TextFiel…
Configuration menu - View commit details
-
Copy full SHA for 94330d8 - Browse repository at this point
Copy the full SHA 94330d8View commit details -
Handle TokenizerFactory TODOs (#32063)
* Don't replace Replace TokenizerFactory with Supplier, this approach was rejected in #32063 * Remove unused parameter from constructor
Configuration menu - View commit details
-
Copy full SHA for 3d0854d - Browse repository at this point
Copy the full SHA 3d0854dView commit details -
Ensure to release translog snapshot in primary-replica resync (#32045)
Previously we create a translog snapshot inside the resync method, and that snapshot will be closed by the resync listener. However, if the resync method throws an exception before the resync listener is initialized, the translog snapshot won't be released. Closes #32030
Configuration menu - View commit details
-
Copy full SHA for 70d2db3 - Browse repository at this point
Copy the full SHA 70d2db3View commit details -
[ML] Move analyzer dependencies out of categorization config (#32123)
The ML config classes will shortly be moved to the X-Pack protocol library to allow the ML APIs to be moved to the high level REST client. Dependencies on server functionality should be removed from the config classes before this is done. This change is entirely about moving code between packages. It does not add or remove any functionality or tests.
Configuration menu - View commit details
-
Copy full SHA for 5afea06 - Browse repository at this point
Copy the full SHA 5afea06View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb9fae0 - Browse repository at this point
Copy the full SHA bb9fae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b31dc36 - Browse repository at this point
Copy the full SHA b31dc36View commit details -
Re-disable packaging tests on suse boxes
This reverts commit 14d7e2c.
Configuration menu - View commit details
-
Copy full SHA for a7c8e07 - Browse repository at this point
Copy the full SHA a7c8e07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7490ec6 - Browse repository at this point
Copy the full SHA 7490ec6View commit details -
Painless: Fix Bug with Duplicate PainlessClasses (#32110)
When building the PainlessMethods and PainlessFields they stored a reference to a PainlessClass. This reference was prior to "freezing" the PainlessClass so the data was both incomplete and mutable. This has been replaced with a target java class instead since the PainlessClass is accessible through a java class now and it requires no special modifications to get around a chicken and egg issue.
Configuration menu - View commit details
-
Copy full SHA for a481ef6 - Browse repository at this point
Copy the full SHA a481ef6View commit details -
Build: Move shadow customizations into common code (#32014)
Moves the customizations to the build to produce nice shadow jars and javadocs into common build code, mostly BuildPlugin with a little into the root build.gradle file. This means that any project that applies the shadow plugin will automatically be set up just like the high level rest client: * The non-shadow jar will not be built * The shadow jar will not have a "classifier" * Tests will run against the shadow jar * Javadoc will include all of the shadowed classes * Service files in `META-INF/services` will be merged
Configuration menu - View commit details
-
Copy full SHA for 346edfa - Browse repository at this point
Copy the full SHA 346edfaView commit details -
Disable C2 from using AVX-512 on JDK 10 (#32138)
The C2 compiler in JDK 10 appears to have an issue compiling to AVX-512 instructions (on hardware that supports such). As a workaround, this commit adds a JVM flag on JDK 10+ to disable the use of AVX-512 instructions until a fix is introduced to the JDK. Instead, we use a flag to enable AVX and AVX2 only. Note: Based on my reading of the C2 code, this flag does not appear to have any impact on hardware that does not support AVX2. I have tested this manually on an Intel Atom C2538 processor that supports neither AVX nor AVX2. I have also tested this manually on an Intel i5-3317U processor that supports AVX but not AVX2.
Configuration menu - View commit details
-
Copy full SHA for cdf5c8a - Browse repository at this point
Copy the full SHA cdf5c8aView commit details -
Build: Make additional test deps of check (#32015)
This commit moves additional unit test runners from being dependencies of the test task to dependencies of check. Without this change, reproduce lines are incorrect due to the additional test runner not matching any of the reproduce class/method info. closes #31964
Configuration menu - View commit details
-
Copy full SHA for a835503 - Browse repository at this point
Copy the full SHA a835503View commit details -
Painless: Add PainlessClassBuilder (#32141)
Several pieces of data in PainlessClass cannot be passed in at the time the PainlessClass is created so it must be "frozen" after all the data is collected. This means PainlessClass is currently serving two functions as both a builder and a set of data. This separates the two pieces into clearly distinct values. This change also removes the PainlessMethodKey in favor of a simple String. The goal is to have the painless method key be completely internal to the PainlessLookup eventually and this simplifies the way there. Note that this was added since PainlessClass and PainlessClassBuilder were already being changed instead of a follow up PR.
Configuration menu - View commit details
-
Copy full SHA for ff7ff36 - Browse repository at this point
Copy the full SHA ff7ff36View commit details -
Build: Skip jar tests if jar disabled
The shadow plugin disables the jar task but we still attempted to extract the jar to see if it had the right license and notice file. This skips the extraction and those tests if the jar is built for any reason which fixes projects that use the shadow plugin.
Configuration menu - View commit details
-
Copy full SHA for 101458b - Browse repository at this point
Copy the full SHA 101458bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88c4f6c - Browse repository at this point
Copy the full SHA 88c4f6cView commit details -
Remove versionType from translog (#31945)
With the introduction of sequence number, we no longer use versionType to resolve out of order collision in replication and recovery requests. This PR removes removes the versionType from translog. We can only remove it in 7.0 because it is still required in a mixed cluster between 6.x and 5.x.
Configuration menu - View commit details
-
Copy full SHA for 8486f24 - Browse repository at this point
Copy the full SHA 8486f24View commit details -
ESIndexLevelReplicationTestCase doesn't support replicated failures b…
…ut it's good to know what they are Sometimes we have a test failure that hits an `UnsupportedOperationException` in this infrastructure. When debugging you want to know what caused this unexpected failure, but right now we're silent about it. This commit adds some information to the `UnsupportedOperationException` Relates to #32127
Configuration menu - View commit details
-
Copy full SHA for 413d211 - Browse repository at this point
Copy the full SHA 413d211View commit details -
[DOCS] Update TLS on Docker for 6.3 (#32114)
Remove references to the `platinum` image and add a self-generated trial licence to the example for TLS on Docker. Fixes elastic/elasticsearch-docker#176
Configuration menu - View commit details
-
Copy full SHA for fa16875 - Browse repository at this point
Copy the full SHA fa16875View commit details -
Fix
range
queries on_type
field for singe type indices (#31756)With the introduction of single types in 6.x, the `_type` field is no longer indexed, which leads to certain queries that were working before throw errors now. One such query is the `range` query, that, if performed on a single typer index, currently throws an IAE since the field is not indexed. This change adds special treatment for this case in the TypeFieldMapper, comparing the range queries lower and upper bound to the one existing type and either returns a MatchAllDocs or a MatchNoDocs query. Relates to #31632 Closes #31476
Configuration menu - View commit details
-
Copy full SHA for 688deeb - Browse repository at this point
Copy the full SHA 688deebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ace3771 - Browse repository at this point
Copy the full SHA ace3771View commit details -
Fix CP for namingConventions when gradle home has spaces (#31914)
* Fix CP for namingConventions when gradle home has spaces Closes #31736. Probably not Windows specific, just not common to have spaces on Linux.
Configuration menu - View commit details
-
Copy full SHA for 84ee20e - Browse repository at this point
Copy the full SHA 84ee20eView commit details -
Fix Java 11 javadoc compile problem
Java 11 complains with a "type arguments not allowed here" error when types are used in javadoc links it seems. Simply removing it.
Configuration menu - View commit details
-
Copy full SHA for 947fa2e - Browse repository at this point
Copy the full SHA 947fa2eView commit details -
A replica can be promoted and started in one cluster state update (#3…
…2042) When a replica is fully recovered (i.e., in `POST_RECOVERY` state) we send a request to the master to start the shard. The master changes the state of the replica and publishes a cluster state to that effect. In certain cases, that cluster state can be processed on the node hosting the replica *together* with a cluster state that promotes that, now started, replica to a primary. This can happen due to cluster state batched processing or if the master died after having committed the cluster state that starts the shard but before publishing it to the node with the replica. If the master also held the primary shard, the new master node will remove the primary (as it failed) and will also immediately promote the replica (thinking it is started). Sadly our code in IndexShard didn't allow for this which caused [assertions](https://github.com/elastic/elasticsearch/blob/13917162ad5c59a96ccb4d6a81a5044546c45c22/server/src/main/java/org/elasticsearch/index/seqno/ReplicationTracker.java#L482) to be tripped in some of our tests runs.
Configuration menu - View commit details
-
Copy full SHA for e67cede - Browse repository at this point
Copy the full SHA e67cedeView commit details -
Add EC2 credential test for repository-s3 (#31918)
Add EC2 credential test for repository-s3 Relates to #26913
Configuration menu - View commit details
-
Copy full SHA for 8924ac3 - Browse repository at this point
Copy the full SHA 8924ac3View commit details -
Add more contexts to painless execute api (#30511)
This change adds two contexts the execute scripts against: * SEARCH_SCRIPT: Allows to run scripts in a search script context. This context is used in `function_score` query's script function, script fields, script sorting and `terms_set` query. * FILTER_SCRIPT: Allows to run scripts in a filter script context. This context is used in the `script` query. In both contexts a index name needs to be specified and a sample document. The document is needed to create an in-memory index that the script can access via the `doc[...]` and other notations. The index name is needed because a mapping is needed to index the document. Examples: ``` POST /_scripts/painless/_execute { "script": { "source": "doc['field'].value.length()" }, "context" : { "search_script": { "document": { "field": "four" }, "index": "my-index" } } } ``` Returns: ``` { "result": 4 } ``` POST /_scripts/painless/_execute { "script": { "source": "doc['field'].value.length() <= params.max_length", "params": { "max_length": 4 } }, "context" : { "filter_script": { "document": { "field": "four" }, "index": "my-index" } } } Returns: ``` { "result": true } ``` Also changed PainlessExecuteAction.TransportAction to use TransportSingleShardAction instead of HandledAction, because now in case score or filter contexts are used the request needs to be redirected to a node that has an active IndexService for the index being referenced (a node with a shard copy for that index).
Configuration menu - View commit details
-
Copy full SHA for b79dc6a - Browse repository at this point
Copy the full SHA b79dc6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d225048 - Browse repository at this point
Copy the full SHA d225048View commit details -
Improve docs for search preferences (#32159)
Today it is unclear what guarantees are offered by the search preference feature, and we claim a guarantee that is stronger than what we really offer: > A custom value will be used to guarantee that the same shards will be used > for the same custom value. This commit clarifies this documentation. Forward-port of #32098 to `master`.
Configuration menu - View commit details
-
Copy full SHA for 997ebe8 - Browse repository at this point
Copy the full SHA 997ebe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f591095 - Browse repository at this point
Copy the full SHA f591095View commit details -
Call setReferences() on custom referring tokenfilters in _analyze (#3…
Configuration menu - View commit details
-
Copy full SHA for 67a4dcb - Browse repository at this point
Copy the full SHA 67a4dcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ecf1d - Browse repository at this point
Copy the full SHA 93ecf1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 945fadf - Browse repository at this point
Copy the full SHA 945fadfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 303de4f - Browse repository at this point
Copy the full SHA 303de4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b9da4 - Browse repository at this point
Copy the full SHA 33b9da4View commit details
Commits on Aug 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b775f71 - Browse repository at this point
Copy the full SHA b775f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dff0f6 - Browse repository at this point
Copy the full SHA 1dff0f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 546aa11 - Browse repository at this point
Copy the full SHA 546aa11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 701fbf2 - Browse repository at this point
Copy the full SHA 701fbf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 396843f - Browse repository at this point
Copy the full SHA 396843fView commit details
Commits on Sep 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8bc3d65 - Browse repository at this point
Copy the full SHA 8bc3d65View commit details