Commit Graph

5896 Commits

Author SHA1 Message Date
Przemysław Witek c6a25a818d
Add docs for HLRC for Estimate memory usage API (#45538) 2019-08-21 12:52:17 +02:00
Armin Braun df01766c15
Repository Cleanup Endpoint (#43900)
* Snapshot cleanup functionality via transport/REST endpoint.
* Added all the infrastructure for this with the HLRC and node client
* Made use of it in tests and resolved relevant TODO
* Added new `Custom` CS element that tracks the cleanup logic.
Kept it similar to the delete and in progress classes and gave it
some (for now) redundant way of handling multiple cleanups but only allow one
* Use the exact same mechanism used by deletes to have the combination
of CS entry and increment in repository state ID provide some
concurrency safety (the initial approach of just an entry in the CS
was not enough, we must increment the repository state ID to be safe
against concurrent modifications, otherwise we run the risk of "cleaning up"
blobs that just got created without noticing)
* Isolated the logic to the transport action class as much as I could.
It's not ideal, but we don't need to keep any state and do the same
for other repository operations
(like getting the detailed snapshot shard status)
2019-08-21 12:02:44 +02:00
Russ Cam 1f62138cfd Use the elasticsearch.bat file in zip distribution (#45596)
This commit updates the documentation to

- use the batch file included with the zip distribution; the exe file is included in the MSI only.
- introduce a space between the -E arguments and their values. Without a space (or quoted, but adding a space is cleaner), the argument will fail with PowerShell

(cherry picked from commit 5c8dbcedb0)
2019-08-21 18:49:19 +10:00
Nhat Nguyen b0d346fd74
Ignore translog retention policy if soft-deletes enabled (#45473)
Since #45136, we use soft-deletes instead of translog in peer recovery.
There's no need to retain extra translog to increase a chance of
operation-based recoveries. This commit ignores the translog retention
policy if soft-deletes is enabled so we can discard translog more
quickly.

Co-authored-by: David Turner <david.turner@elastic.co>

Relates #45136
2019-08-20 20:54:14 -04:00
James Rodewig b97d87afdf
[DOCS] Document `indices.lifecycle.poll_interval` ILM cluster setting (#45744) 2019-08-20 12:58:57 -04:00
debadair 850b3cec53
[DOCS] Streamlined GS indexing topic. (#45714)
* Streamlined GS indexing topic.

* Incorporated review feedback

* Applied formatting per the style guidelines.
2019-08-20 09:14:49 -07:00
James Rodewig 5d0e6b56ff
[DOCS] Replace placeholder anchors for create rollup job API docs. (#45712) 2019-08-20 10:36:42 -04:00
Jonathan Hult 1930267809 [DOCS] Fix typo in highlighting doc (#45707) 2019-08-20 07:27:27 -04:00
LHearen 6dadce1112 [DOCS] Correct conditional clause in histogram agg docs (#45643) 2019-08-19 10:09:10 -04:00
LHearen d1c0ea7833 [DOCS] Fix a 'value' -> 'values' typo in histogram aggregation docs (#45642) 2019-08-19 10:02:44 -04:00
James Rodewig e4f30f3960
[DOCS] Add examples to the mapping docs (#45520) 2019-08-19 09:32:37 -04:00
debadair 332247a357
[DOCS] Fixed TOC heading level issue. (#45680) 2019-08-16 14:54:21 -07:00
markharwood f0dbc68187
Search enhancement: pinned queries (#44345)
Search enhancement: - new query type allows selected documents to be promoted above any "organic” search results.
This is the first feature in a new module `search-business-rules` which will house licensed (non OSS) logic for rewriting queries according to business rules.
The PinnedQueryBuilder class offers a new `pinned` query in the DSL that takes an array of promoted IDs and an “organic” query and ensures the documents with the promoted IDs rank higher than the organic matches.

Closes #44074
2019-08-16 14:46:06 +01:00
István Zoltán Szabó e134947b6e
[DOCS] Reformats voting configuration exclusion API. (#45644) 2019-08-16 15:41:15 +02:00
István Zoltán Szabó 9168353a95
[DOCS] Reformats cluster allocation explain API (#45603)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-16 15:38:09 +02:00
István Zoltán Szabó 0358580913
[DOCS] Reformats nodes hot_threads API (#45597)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-16 15:34:19 +02:00
István Zoltán Szabó 32318b0c92
[DOCS] Reformats task management API (#45549)
This PR updates the task management API to align with the new API reference template.
2019-08-16 10:21:25 +02:00
James Rodewig 28107b2221
Retitle and relocate cross-cluster search docs (#45608) 2019-08-15 16:11:04 -04:00
Jake Landis 9c388084d5
Fix bug in ingest node documentation (#45589)
The "Conditionals with the Pipeline Processor" incorrectly documents
how to create a pipeline of pipelines with a failure condition. The 
example as-is will always execute the fail processor. The change here
updates the documentation to correct guard the fail processor with an
if condition.
2019-08-15 15:08:42 -05:00
James Rodewig f1661ab058
[DOCS] Rewrite cross-cluster seach docs (#45583) 2019-08-15 13:23:25 -04:00
James Rodewig 66b8261e1b
[DOCS] Add diagrams to cross-cluster search documentation (#45569) 2019-08-15 10:59:58 -04:00
Chris Dean 96a234e461
[DOCS] - Updating chunk_size values to fix size value notation. Chunksize41591 (#45552)
* changes to chunk_size #41591

* update to chunk size to include ` `

* Update docs/plugins/repository-azure.asciidoc

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/modules/snapshots.asciidoc

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* Update docs/plugins/repository-azure.asciidoc

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* Update docs/plugins/repository-s3.asciidoc

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* edits to fix passive voice
2019-08-14 13:47:07 -05:00
debadair 45467727e4
Restructure the GS topics & add redirects. (#45527)
* Restructure the GS topics & add redirects.

Co-Authored-By: James Rodewig <james.rodewig@elastic.co>

* Update docs/reference/getting-started.asciidoc to fix tests
2019-08-14 10:59:17 -07:00
James Rodewig 9c488f3ea1
[DOCS] Rewrite `fuzzy` query docs (#42078) 2019-08-14 13:06:23 -04:00
Benjamin Trent 5fb9081e20
[ML][Transforms] adjusting stats.progress for cont. transforms (#45361)
* [ML][Transforms] adjusting stats.progress for cont. transforms

* addressing PR comments

* rename fix
2019-08-14 11:22:39 -05:00
István Zoltán Szabó c980043469
[DOCS] Reformats nodes feature usage API (#45539)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-14 18:19:05 +02:00
István Zoltán Szabó 92a4714b32
[DOCS] Reformats cluster remote info API (#45545)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-14 17:07:24 +02:00
Ioannis Kakavas b02b5b8a71
Remove reference to `accept_default_password` (#45533)
`xpack.security.authc.accept_default_password` has not been
 used since 6.0 but we still referenced it in our docs.
2019-08-14 11:30:05 +03:00
Przemysław Witek 7107c221a7
Implement ml/data_frame/analytics/_estimate_memory_usage API endpoint (#45188) 2019-08-13 20:59:35 +02:00
debadair 9f094d6ecd
[DOCS] Reformat doc delete API reference. (#45422)
* [DOCS] Reformat doc delete API reference.
2019-08-13 09:54:04 -07:00
debadair ac257db48d
[DOCS] Reformat update API reference. (#45423)
* [DOCS] Reformat update API reference.
2019-08-13 09:53:39 -07:00
debadair 959a915f82
[DOCS] Reformat get API. (#45416)
* [DOCS] Reformat get API.
2019-08-13 09:52:56 -07:00
James Rodewig e0c9234ba9
[DOCS] Reformat cat API titles (#45407) 2019-08-13 08:35:08 -04:00
James Rodewig 7e0c90f680 [DOCS] Correct anchor for cat segments API examples 2019-08-13 08:27:57 -04:00
James Rodewig c89f28f803
[DOCS] Reformats cat shards API (#45392) 2019-08-13 08:24:53 -04:00
István Zoltán Szabó 2697316b99
[DOCS] Reformats cluster update settings API (#45337) 2019-08-13 14:22:36 +02:00
István Zoltán Szabó f2ab41f785
[DOCS] Adds heading between examples to better separate them. (#45499) 2019-08-13 13:53:43 +02:00
István Zoltán Szabó a0ba1a79ea
[DOCS] Reformats cluster node info API (#45446)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-13 13:26:57 +02:00
István Zoltán Szabó 5cba5ac01c
[DOCS] Reformats cluster node stats API (#45441)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-08-13 12:46:47 +02:00
Tim Vernum c1fb929338
Add SSL/TLS settings for watcher email (#45272)
This change adds a new SSL context

   xpack.notification.email.ssl.*

that supports the standard SSL configuration settings (truststore,
verification_mode, etc). This SSL context is used when configuring
outbound SMTP properties for watcher email notifications.

Resolves: #30307
2019-08-13 14:15:19 +10:00
debadair c84015cb56
[DOCS] Streamlined install of 3 node cluster for GS tutorial (#45009)
* [DOCS] Revise GS intro and remove redundant conceptual content. Closes #43846.

* [DOCS] Incorporated feedback.

* [DOCS] Consolidated archive install for all platforms.

* [DOCS] Added powershell command.

* [DOCS] Added health check.
2019-08-12 18:19:47 -07:00
debadair 009020f569
[DOCS] Reformat index API. (#45415)
* [DOCS] Reformat index API.

* Incorporated review feedback.
2019-08-12 14:50:15 -07:00
Ryan Ernst 18c537652f
Fix old name of script context in docs (#45410)
The docs contain an example how to limit the scripting contexts allowed,
but the example used an outdated name for the scoring context.

closes #44232
2019-08-12 09:28:44 -07:00
James Rodewig c4bc45fca3
[DOCS] Reformat query string query (#45296) 2019-08-12 11:17:19 -04:00
James Rodewig 93f09bc37a
[DOCS] Reformats cat templates API (#45403) 2019-08-12 08:45:28 -04:00
James Rodewig 0341e691ac
[DOCS] Reformats cat snapshots API (#45402) 2019-08-12 08:40:33 -04:00
James Rodewig f77d0a4370
[DOCS] Reformats cat thread pool API (#45385) 2019-08-12 08:36:36 -04:00
James Rodewig a884fe5ae8
[DOCS] Reformats cat repositories API (#45382) 2019-08-12 08:30:25 -04:00
James Rodewig c70e16da15
[DOCS] Reformats cat segments API (#45397) 2019-08-12 08:25:09 -04:00
James Rodewig 6ba11f6839
[DOCS] Reformats cat recovery API (#45345) 2019-08-12 08:17:01 -04:00