5003 Commits

Author SHA1 Message Date
olcbean
9db23e48cd Add Indices Aliases API to the high level REST client ()
Relates to 
2018-01-25 14:34:06 +01:00
olcbean
0c83240b5f Java Api clean up: remove deprecated isShardsAcked ()
This PR removes previously deprecated `isShardsAcked()` method in
favour of `isShardsAcknowledged()` on `CreateIndexResponse`, `CreateIndexClusterStateUpdateResponse` and `RolloverResponse` 

Related to 
Follow-up of 
2018-01-25 14:13:20 +01:00
Alex Moros Marco
261fb6a29e [Docs] Fix explanation for from and size example () 2018-01-25 11:40:39 +01:00
Jim Ferenczi
c26d4ac6c1
Always return the after_key in composite aggregation response ()
This change adds the `after_key` of a composite aggregation directly in the response.
It is redundant when all buckets are not filtered/removed by a pipeline aggregation since in this case the `after_key` is always the last bucket
in the response. Though when using a pipeline aggregation to filter composite buckets, the `after_key` can be lost if the last bucket is filtered.
This commit fixes this situation by always returning the `after_key` in a dedicated section.
2018-01-25 09:15:27 +01:00
Jim Ferenczi
65184d0b5b
Adds a note in the terms aggregation docs regarding pagination ()
This change adds a note in the `terms` aggregation that explains how to retrieve **all**
terms (or all combinations of terms in a nested agg) using the `composite` aggregation.
2018-01-25 08:59:41 +01:00
Alex Moros Marco
090ac3c2a2 [Doc] Fixs typo in reverse-nested-aggregation.asciidoc () 2018-01-24 17:54:02 +01:00
Robin Stocker
64bbb3a235 [Docs] Clarify html encoder in highlighting.asciidoc ()
The previous description was a bit confusing because the pre/post tags used for highlighting are not escaped, the rest of the content is.
2018-01-24 16:45:40 +01:00
David Pilato
a1c40b05cb
Fix GeoDistance query example () 2018-01-24 12:28:51 +01:00
Lukas Olson
7c5619a29a
Fix spelling error 2018-01-23 12:29:11 -07:00
Jim Ferenczi
b2ce994be7 [Docs] Fix asciidoc style in composite agg docs 2018-01-23 16:41:32 +01:00
Jim Ferenczi
19cfc25873
Adds the ability to specify a format on composite date_histogram source ()
This commit adds the ability to specify a date format on the `date_histogram` composite source.
If the format is defined, the key for the source is returned as a formatted date.

Closes 
2018-01-23 15:14:49 +01:00
Catalin Ursachi
cf61d792b2 Added Put Mapping API to high-level Rest client ()
Relates to 
2018-01-23 11:03:32 +01:00
Adrien Grand
700d9ecc95
Remove the update_all_types option. ()
This option is not useful in 7.x since no indices may have more than one type
anymore.
2018-01-22 12:03:07 +01:00
Peter Dyson
1ae920cb90
Provide explanation of dangling indices, fixes ()
* Provide explanation of dangling indices, fixes 

Adjusted from PR review comments

* updates to suggested wording and minor typo fix.
2018-01-22 18:39:21 +10:00
David Turner
0a4a4c8a0e
Minor improvements to translog docs ()
The use of the phrase "translog" vs "transaction log" was inconsistent, and
it was apparently unclear that the translog was stored on every shard copy.
2018-01-19 10:17:22 +00:00
Christoph Büscher
b7e1d6fe3e [Docs] Remove typo in painless-getting-started.asciidoc 2018-01-19 10:19:11 +01:00
Andrew Kramarev
ef468327e9 mistyping in one of the highlighting examples comment -> content () 2018-01-18 17:32:42 -05:00
David Kemp
531c58cf81 Documents applicability of term query to range type ()
Closes 
2018-01-18 17:19:01 -05:00
Jin Liang
66c81e7f5e [Docs] Update tophits-aggregation.asciidoc () 2018-01-18 18:06:20 +01:00
David Shimon
c92b42ef84 Docs: match between snippet to its description ()
s/400/200/ in the text to match a snippet.
2018-01-18 09:31:02 -05:00
deepybee
48c8098e15 Fixed several typos in analyzers section () 2018-01-18 08:51:53 +00:00
Jim Ferenczi
defb53a0bc
add a note regarding rescore and sort () 2018-01-18 09:23:19 +01:00
olcbean
b98514c6d9 Add Close Index API to the high level REST client ()
Add support for _close endpoint to the high level REST client

Relates to 
2018-01-17 11:47:08 +01:00
Christoph Büscher
8a58df46f3 Revert "[Docs] Fix Java Api index administration usage ()"
This reverts commit 67c1f1c856cad9624087931e7ca1285e16cd55f7.
2018-01-16 17:31:11 +01:00
Christoph Büscher
409b3d2ebd Revert "[Docs] Fix base directory to include for put_mapping.asciidoc"
This reverts commit 4f5be7db3ce9f1ea7f864cc1fd38ee09363aa64d.
2018-01-16 17:30:55 +01:00
Christoph Büscher
d4ac0026fc
[Docs] Clarify numeric datatype ranges ()
Since  we reject infinite values for float, double and half_float
datatypes. This change adds this restriction to the documentation for the
supported datatypes.

Closes 
2018-01-16 15:53:28 +01:00
Christoph Büscher
4f5be7db3c [Docs] Fix base directory to include for put_mapping.asciidoc 2018-01-16 15:19:47 +01:00
Christoph Büscher
67c1f1c856
[Docs] Fix Java Api index administration usage ()
The Java API documentation for index administration currenty is wrong because
the PutMappingRequestBuilder#setSource(Object... source) and
CreateIndexRequestBuilder#addMapping(String type, Object... source) methods
delegate to methods that check that the input arguments are valid key/value
pairs:

https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-admin-indices.html

This changes the docs so the java api code examples are included from
documentation integration tests so we detect compile and runtime issues earlier.

Closes 
2018-01-16 12:05:03 +01:00
fbsolo
71ba314c73 [Docs] Changes to ingest.asciidoc () 2018-01-16 09:36:19 +01:00
Nicholas Knize
5ed25f1e12 [GEO] Add WKT Support to GeoBoundingBoxQueryBuilder
Add WKT BBOX parsing support to GeoBoundingBoxQueryBuilder.
2018-01-15 13:30:51 -06:00
Jim Ferenczi
be012b1326
upgrade to lucene 7.2.1 () 2018-01-15 16:47:46 +01:00
hanbj
784eba86b2 [Docs] Fix an error in painless-types.asciidoc () 2018-01-15 15:10:22 +01:00
Igor Motov
c75ac319a6
Add ability to associate an ID with tasks ()
Adds support for capturing the X-Opaque-Id header from a REST request and storing it's value in the tasks that this request started. It works for all user-initiated tasks (not only search).

Closes 

Usage:
```
$ curl -H "X-Opaque-Id: imotov" -H "foo:bar" "localhost:9200/_tasks?pretty&group_by=parents"
{
  "tasks" : {
    "7qrTVbiDQKiZfubUP7DPkg:6998" : {
      "node" : "7qrTVbiDQKiZfubUP7DPkg",
      "id" : 6998,
      "type" : "transport",
      "action" : "cluster:monitor/tasks/lists",
      "start_time_in_millis" : 1513029940042,
      "running_time_in_nanos" : 266794,
      "cancellable" : false,
      "headers" : {
        "X-Opaque-Id" : "imotov"
      },
      "children" : [
        {
          "node" : "V-PuCjPhRp2ryuEsNw6V1g",
          "id" : 6088,
          "type" : "netty",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 67785,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        },
        {
          "node" : "7qrTVbiDQKiZfubUP7DPkg",
          "id" : 6999,
          "type" : "direct",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 98754,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        }
      ]
    }
  }
}
```
2018-01-12 15:34:17 -05:00
akadko
6a5807ad8f [DOCS] Removed differencies between text and code () 2018-01-12 10:36:48 -05:00
Andrew Banchich
a10c406292 text fixes () 2018-01-12 10:21:39 -05:00
Boudewijn
3a96518b58 Update getting-started.asciidoc ()
Replaced single quotation marks with double quotation marks surrounding localhost address
2018-01-12 10:21:16 -05:00
Andrew Banchich
c417427ecd [Docs] Spelling fix in painless-getting-started.asciidoc () 2018-01-12 11:52:15 +01:00
Tim Brooks
99f88f15c5
Rename core module to server ()
This is related to . It renames the core module to server. This is
the first step towards introducing an elasticsearch-core jar.
2018-01-11 11:30:43 -07:00
Christoph Büscher
39ff7b5a3f [Docs] Correct response json in rank-eval.asciidoc 2018-01-11 15:52:11 +01:00
Yu
228f7ffcdf Add scroll parameter to _reindex API ()
Be able to change scroll timeout in _reindex API (by default: 5m)
2018-01-11 14:40:04 +01:00
Combalgorythm
3c032f84f4 Modifies the JavaAPI docs related to AggregationBuilder
1."AggregationBuilder" replaces "AggregatorBuilder" in docs/java-api/aggregations/bucket/iprange-aggregation.asciidoc
2."GeoBoundsAggregationBuilder" replaces "GeoBoundsBuilder" in docs/java-api/aggregations/metrics/geobounds-aggregation.asciidoc

Closes 
2018-01-11 12:59:30 +01:00
Andrew Banchich
e92acefba0 [Docs] Improvements in script-fields.asciidoc () 2018-01-11 10:59:27 +01:00
Tyler Smalley
9d7799d356 [Docs] Remove Kerberos/SPNEGO Shield plugin ()
Plugin has not been updated in over two years and requires Shield and ES 2.3.1
2018-01-10 19:23:06 +01:00
Martijn van Groningen
4182e9e3bb
docs: Replaces indexed script java api docs with stored script api docs
Closes 
2018-01-10 18:03:14 +01:00
Ryan Ernst
3fb0cb91a9
Docs: Clarify password protection support with keystore ()
closes 
2018-01-09 15:01:37 -08:00
Jim Ferenczi
5ac05faab5 [Docs] fix plugin properties inclusion for plugins authors 2018-01-10 00:00:27 +01:00
Jim Ferenczi
36729d1c46
Add the ability to bundle multiple plugins into a meta plugin ()
This commit adds the ability to package multiple plugins in a single zip.
The zip file for a meta plugin must contains the following structure:

|____elasticsearch/
| |____   <plugin1> <-- The plugin files for plugin1 (the content of the elastisearch directory)
| |____   <plugin2>  <-- The plugin files for plugin2
| |____   meta-plugin-descriptor.properties <-- example contents below
The meta plugin properties descriptor is mandatory and must contain the following properties:

description: simple summary of the meta plugin.
name: the meta plugin name
The installation process installs each plugin in a sub-folder inside the meta plugin directory.
The example above would create the following structure in the plugins directory:

|_____ plugins
| |____   <name_of_the_meta_plugin>
| | |____   meta-plugin-descriptor.properties
| | |____   <plugin1>
| | |____   <plugin2>
If the sub plugins contain a config or a bin directory, they are copied in a sub folder inside the meta plugin config/bin directory.

|_____ config
| |____   <name_of_the_meta_plugin>
| | |____   <plugin1>
| | |____   <plugin2>

|_____ bin
| |____   <name_of_the_meta_plugin>
| | |____   <plugin1>
| | |____   <plugin2>
The sub-plugins are loaded at startup like normal plugins with the same restrictions; they have a separate class loader and a sub-plugin
cannot have the same name than another plugin (or a sub-plugin inside another meta plugin).

It is also not possible to remove a sub-plugin inside a meta plugin, only full removal of the meta plugin is allowed.

Closes 
2018-01-09 18:28:43 +01:00
Andrew Banchich
a58dc8d82c [Docs] Fix Date Math example descriptions () 2018-01-08 16:58:12 +01:00
Martijn van Groningen
a38f70b5dd
fix doc mistake 2018-01-05 14:12:51 +01:00
Sian Lerk Lau
a4a7150b56
Added ASN support for Ingest GeoIP plugin.
Closes 
2018-01-05 14:07:04 +01:00