Commit graph

6089 commits

Author SHA1 Message Date
James Rodewig
7583c07fa8
[DOCS] Reorder index APIs alphabetically (#46981) 2019-10-01 15:13:27 -04:00
James Rodewig
6ef5300e13
[DOCS] Reformat simulate pipeline API (#47301) 2019-10-01 14:29:05 -04:00
James Rodewig
e2b9c1b764
[DOCS] Reformat put pipeline API (#47171) 2019-10-01 14:19:26 -04:00
James Rodewig
26fef85887 [DOCS] Clarify actions parm def for tasks APIs 2019-10-01 11:49:08 -04:00
James Rodewig
9f5f9f19d0
[DOCS] Document cat tasks API (#47321) 2019-10-01 11:47:14 -04:00
Mark Tozzi
57a679fbbb
Documentation notes for Range field histograms (#46890) 2019-10-01 10:46:04 -04:00
Marios Trivyzas
ead743d357
SQL: Implement DATE_PART function (#47206)
]DATE_PART(<datetime unit>, <date/datetime>) is a function that allows
the user to extract the specified unit from a date/datetime field
similar to the EXTRACT (<datetime unit> FROM <date/datetime>) but
with different names and aliases for the units and it also provides more
options like `DATE_PART('tzoffset', datetimeField)`.

Implemented following the SQL server's spec: https://docs.microsoft.com/en-us/sql/t-sql/functions/datepart-transact-sql?view=sql-server-2017
with the difference that the <datetime unit> argument is either a
literal single quoted string or gets a value from a table field, whereas
in SQL server keywords are used (unquoted identifiers) and it's not
possible to use a value coming for a table column.

Closes: #46372
2019-10-01 15:59:25 +03:00
István Zoltán Szabó
a6c517a96e
[DOCS] Changes wording to move away from data frame terminology in the ES repo (#47093)
* [DOCS] Changes wording to move away from data frame terminology in the ES repo.
Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
2019-10-01 08:04:06 +02:00
David Turner
c83dd32be1
Remove orphan diagrams for MovingAverage agg (#47263)
This aggregation was removed in #39328 but the diagrams from its docs live on
today. This commit removes them.
2019-09-30 17:04:37 +01:00
David Turner
776d87b438
Clarify rolling-upgrade docs (#47279)
Note to upgrade the master-eligible nodes last, and note that
`cluster.initial_master_nodes` should not be set.
2019-09-30 16:58:55 +01:00
James Rodewig
2fd051497e
[DOCS] Add response body parms to search API docs (#47042) 2019-09-30 11:41:14 -04:00
James Rodewig
eb454558fb [DOCS] Correct snippet in query string syntax 2019-09-30 11:25:13 -04:00
Andrew Naguib
b4506019d5 [DOCS] Note double backslashes (\\) are required to escape JSON chars (#46863) 2019-09-30 11:19:50 -04:00
James Rodewig
4ebb44ffaf
[DOCS] Reformat delete pipeline API (#47172) 2019-09-30 09:44:41 -04:00
Yannick Welsch
9592b59312
Remove "force" version type (#47228)
It's been deprecated long ago and can be removed.

Relates to #20377

Closes #19769
2019-09-30 11:58:11 +02:00
lcawl
02ec11e6a8 [DOCS] Skip code snippet testing in monitoring example 2019-09-27 17:10:03 -07:00
Lisa Cawley
91992a805f
[DOCS] Moves Watcher content into Elasticsearch book (#47147)
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-09-27 16:05:44 -07:00
Lisa Cawley
0599b71823
[DOCS] Adds production monitoring page (#47184) 2019-09-27 14:58:10 -07:00
James Rodewig
4568d30ef6
[DOCS] Document missing query parms for cat recovery API (#47181)
Documents the following query parameters for
the /_cat/recovery API:

* `active_only`
* `detailed`
* `index`
2019-09-27 12:19:47 -04:00
James Rodewig
45f8c970ef
[DOCS] Reformat flush API docs (#46875) 2019-09-27 11:42:55 -04:00
James Rodewig
0b07befb1b
[DOCS] Correct typo in ICU Analysis plugin description (#47175) 2019-09-27 10:48:00 -04:00
Marios Trivyzas
9ac223cb1f
SQL: Add alias DATETRUNC to DATE_TRUNC function (#47173)
To be on the safe side in terms of use cases also add the alias
DATETRUNC to the DATE_TRUNC function.

Follows: #46473
2019-09-27 15:38:03 +03:00
István Zoltán Szabó
d0faf354c6
[DOCS] Reformats Profile API (#47168)
* [DOCS] Reformats Profile API.

* [DOCS] Fixes failing docs test.
2019-09-27 10:34:30 +02:00
Pius
f25e58a257 [DOCS] Add 'remote clusters' requirement link to CCR docs (#47185) 2019-09-26 16:14:42 -04:00
James Rodewig
dbdf212c95
[DOCS] Correct link to index.store.preload setting (#47145) 2019-09-26 08:56:24 -04:00
James Rodewig
223110491b
[DOCS] Reformat get pipeline API (#47131) 2019-09-26 08:26:01 -04:00
Lisa Cawley
6c64566e9c
[DOCS] Fix links to transform pages (#47134) 2019-09-25 13:02:28 -07:00
Igor Motov
76de93c258
SQL: Add support for shape type (#46464)
Enables support for Cartesian geometries shape type. We still need to
decide how to handle the distance function since it is currently using
the haversine distance formula and returns results in meters, which
doesn't make any sense for Cartesian geometries.

Closes #46412
Relates to #43644
2019-09-25 13:43:05 -04:00
Gordon Brown
b42923f339
Add support for POST requests to SLM Execute API (#47061)
This commit adds support for POST requests to the SLM `_execute` API,
because POST is a more appropriate HTTP verb for this action as it is
not idempotent. The docs are also changed to favor POST over PUT,
although PUT is not removed or officially deprecated.
2019-09-25 11:32:44 -06:00
James Rodewig
48471b2e9a
[DOCS] Reformat clone index API docs (#46762) 2019-09-25 12:36:23 -04:00
Andrei Dan
c363d27f02
ILM: parse origination date from index name (#46755)
* ILM: parse origination date from index name

Introduce the `index.lifecycle.parse_origination_date` setting that
indicates if the origination date should be parsed from the index name.
If set to true an index which doesn't match the expected format (namely
`indexName-{dateFormat}-optional_digits` will fail before being created.
The origination date will be parsed when initialising a lifecycle for an
index and it will be set as the `index.lifecycle.origination_date` for
that index.

A user set value for `index.lifecycle.origination_date` will always
override a possible parsable date from the index name.
2019-09-25 16:31:15 +01:00
István Zoltán Szabó
36502b2460
[DOCS] Reformats ranking evaluation API (#46974)
* [DOCS] Reformats ranking evaluation API.
Co-Authored-By: James Rodewig <james.rodewig@elastic.co>
2019-09-25 14:55:09 +02:00
István Zoltán Szabó
69422b97cf
[DOCS] Reformat suggesters page. (#47010) 2019-09-25 14:38:47 +02:00
James Rodewig
07761530c1
[DOCS] Add multi-level nested query example to nested query docs (#46986) 2019-09-25 00:56:15 -04:00
Lisa Cawley
ae31ae6458
[DOCS] Adds transforms to Elasticsearch book (#46846) 2019-09-24 15:56:18 -07:00
Gordon Brown
3035cd35a4
Change SLM stats format (#46991)
Using arrays of objects with embedded IDs is preferred for new APIs over
using entity IDs as JSON keys.  This commit changes the SLM stats API to
use the preferred format.
2019-09-24 15:57:52 -06:00
Julie Tibshirani
f3420afc8e
Mention ip fields in the global ordinals docs. (#47045)
Although they do not support eager_global_ordinals, ip fields use global
ordinals for certain aggregations like 'terms'.

This commit also corrects a reference to the sampler aggregation.
2019-09-24 12:38:23 -07:00
Lisa Cawley
a2e7dabc23
[DOCS] Merge monitoring sections in Elasticsearch book (#46885) 2019-09-24 10:35:06 -07:00
debadair
67022ae446
[DOCS] Reformats the update by query API. (#46199) 2019-09-23 17:22:49 -07:00
Alan Woodward
c1f99e2d75
Remove _type from SearchHit (#46942)
This commit removes the `_type` field from all search hit responses.

Relates to #41059
2019-09-23 19:14:54 +01:00
Colin Goodheart-Smithe
a574a66a21 Removes typed URLs from mapping APIs (#41676)
Relates to #41059
2019-09-23 18:20:07 +01:00
Alan Woodward
b733f9e803
Remove types from explain API (#46926)
We no longer need a type to get the source of a document, so we can remove it from
the explain API as well.

Relates to #41059
2019-09-23 17:55:09 +01:00
Lisa Cawley
18a3b2e351
[DOCS] Group rollup and transform content (#46882) 2019-09-23 08:45:01 -07:00
James Rodewig
c8a905382a
[DOCS] Reformat rollover index API docs (#46778) 2019-09-23 09:18:01 -04:00
Christoph Büscher
2351aa3efb
Disallow _field_names enabled setting (#46681)
After deprecating the `enabled` setting for `_field_names`starting with 7.5, 
this change disallows the setting on new indices in 8.0. The setting continues
to work for indices created in 7.x where we continue emitting a deprecation warning.

Relates to #42854
2019-09-23 14:13:44 +02:00
Lisa Cawley
4da98c9e46
[DOCS] Update data frame transform URLs (#46940) 2019-09-20 13:26:57 -07:00
Javier Ruiz
e8dac62a4a [DOCS] Fix calendar interval typos for date histo agg (#46911) 2019-09-20 15:22:04 -04:00
Lisa Cawley
a827349714
[DOCS] Add security section to Elasticsearch book (#46883)
Co-Authored-By: Tim Vernum <tim@adjective.org>
2019-09-20 11:31:24 -07:00
James Rodewig
370e434986
[DOCS] Correct several [source,console-result] snippets (#46930) 2019-09-20 11:23:15 -04:00
Alan Woodward
7c90801aff
Remove types from Get/MultiGet (#46587)
This commit removes types from the ShardGetService, and propagates this API change
up through the Transport and Rest actions for Get and MultiGet

Relates to #41059
2019-09-20 14:22:57 +01:00