Commit graph

5461 commits

Author SHA1 Message Date
James Rodewig
bf2324686c
[DOCS] Add : to render multiple inline macros in Asciidoctor (#41615) 2019-05-01 15:53:50 -04:00
James Rodewig
7639e6a398
[DOCS] Reword type query deprecation note for Asciidoctor migration (#41595) 2019-05-01 09:28:12 -04:00
James Rodewig
737b359b94
[DOCS] Escape quotes to avoid smart quotes in Asciidoctor (#41603) 2019-04-30 16:30:58 -04:00
James Rodewig
9a8d976970
[DOCS] Remove soft line breaks (+) for Asciidoctor migration (#41600) 2019-04-30 16:22:15 -04:00
James Rodewig
9d94c6dc47
[DOCS] Move beta[] tag for Asciidoctor migration (#41599) 2019-04-30 16:02:59 -04:00
James Rodewig
8e3ff6793f
[DOCS] Escape commas in deprecated[] for Asciidoctor migration (#41598) 2019-04-30 15:50:52 -04:00
James Rodewig
ddafdb8ca1
[DOCS] Escape depcreated[] note for Asciidoctor migration (#41608) 2019-04-30 15:18:49 -04:00
James Rodewig
b33b5fc122
[DOCS] Add attribute to escape minimal pt token link in Asciidoctor (#41613) 2019-04-30 14:11:24 -04:00
James Rodewig
ba6135f0c7
[DOCS] Allow attribute substitution in titleabbrevs for Asciidoctor migration (#41574)
* [DOCS] Replace attributes in titleabbrevs for Asciidoctor migration

* [DOCS] Add [subs="attributes"] so attributes render in Asciidoctor

* Revert "[DOCS] Replace attributes in titleabbrevs for Asciidoctor migration"

This reverts commit 98f130257a.

* [DOCS] Fix merge conflict
2019-04-30 13:46:13 -04:00
James Rodewig
adf67053f4
[DOCS] Add anchors for Asciidoctor migration (#41648) 2019-04-30 10:19:09 -04:00
James Rodewig
217f5b936f
[DOCS] Remove line break from deprecated[] macro (#41616) 2019-04-30 09:58:09 -04:00
James Rodewig
6351e71251
[DOCS] Add soft line breaks to maintain nested definition list (#41617) 2019-04-30 09:25:04 -04:00
James Rodewig
96023bb759
[DOCS] Document 200 http code response for partial results (#40367) 2019-04-29 08:28:03 -04:00
Russ Cam
b3493631a8 [ML] Specify from and size as querystring parameters (#40575)
This commit updates the header for from and size to indicate
that they can be specified as querystring parameters.
2019-04-29 11:06:23 +01:00
Benjamin Trent
06bc25e447
[ML] cleanup + adding description field to transforms (#41554)
* [ML] cleanup + adding description field to transforms

* making description length have a max of 1k
2019-04-26 14:41:05 -05:00
James Rodewig
4ab9e88cf7
[DOCS] Fix delimited blocks for Asciidoctor migration (#41583) 2019-04-26 11:41:19 -04:00
James Rodewig
b7f57c2e62
[DOCS] Escape commas in experimental[] for Asciidoctor migration (#41578) 2019-04-26 11:35:07 -04:00
James Rodewig
3816a1be1d
[DOCS] Fix ID for Asciidoctor migration (#41577) 2019-04-26 11:20:34 -04:00
James Rodewig
0225af44a0
[DOCS] Clarify Recovery Settings for Shard Relocation (#40329)
* Clarify that peer recovery settings apply to shard relocation

* Fix awkward wording of 1st sentence

* [DOCS] Remove snapshot recovery reference.
Call out link to [[cat-recovery]].
Separate expert settings.
2019-04-26 10:23:30 -04:00
Mayya Sharipova
29701b0229
Remove experimental label froms script_score query (#41572) 2019-04-26 08:50:27 -04:00
James Rodewig
bb62bc6d1c
[DOCS] Explicitly set section IDs for Asciidoctor migration (#41547)
* [DOCS] Explicitly set section ID for faster phrase queries

* [DOCS] Explicitly set section ID for faster prefix queries
2019-04-25 15:06:35 -04:00
Christoph Büscher
34ae1f9c7d
[Docs] Fix common word repetitions (#39703) 2019-04-25 20:47:03 +02:00
Jash Gala
94f7ee57e0 Fixed very small typo in date (#41398) 2019-04-25 13:09:55 -04:00
Ignacio Vera
cc48427e05
Improve accuracy for Geo Centroid Aggregation (#41033)
keeps the partial results as doubles and uses Kahan summation to help reduce floating point errors.
2019-04-25 08:06:55 +02:00
Zachary Tong
5ccc0b5a32
Disallow null/empty or duplicate composite sources (#41359)
Adds some validation to prevent duplicate source names from being 
used in the composite agg.

Also refactored to use a ConstructingObjectParser and removed the 
private ctor and setter for sources, making it mandatory.
2019-04-24 13:22:06 -04:00
James Rodewig
02ef53c853
[DOCS] Standardize docs for url setting (#41117) 2019-04-24 12:18:52 -04:00
James Rodewig
3a1606bc60
[DOCS] Remove inline callouts for Asciidoctor migration (#41460) 2019-04-24 08:44:01 -04:00
Guilherme Ferreira
378d74be00 [Docs] Correct default stop list constant (#41342) 2019-04-23 19:14:31 +02:00
Jack Conradson
9fc0e81cb3
Task to generate Painless API's per context (#41233)
This adds a gradle task called generateContextDoc in the Painless module. The 
task will start a cluster, issue commands against the context rest api for 
Painless, and generate documentation for each API per context. Each context 
has a first page of classes sorted by package first and class name second, 
along with a page per package with each classes' constructors, methods, and 
fields. A link is generated for each constructor, method, and field to a JavaDoc 
page when possible.
2019-04-23 09:10:47 -07:00
Nik Everett
d880960584
Docs: Rework close ml section (#41435)
Reworks the close ml section to work properly in Asciidoctor. It
renders a little funny in AsciiDoc but AsciiDoc is on its way out
anyway....
2019-04-23 10:57:17 -04:00
David Turner
b47d65c917
Mention the cost of tracking live docs in scrolls (#41375)
Relates #41337, in which a heap dump shows hundreds of MBs allocated on the
heap for tracking the live docs for each scroll.
2019-04-23 15:26:14 +01:00
Marios Trivyzas
add02f4f55
SQL: Implement IIF(<cond>, <result1>, <result2>) (#41420)
Implement a more trivial case of the CASE expression which is
expressed as a traditional function with 2 or 3 arguments. e.g.:

IIF(a = 1, 'one', 'many')
IIF(a > 0, 'positive')
Closes: #40917
2019-04-23 16:30:37 +03:00
Hendrik Muhs
3b0dd4a4ed
[DOCS] change source and dest to be nested and add a query to the example (#41293)
update source and dest to reflect the changes done in #40396 and add a query to the example.
2019-04-23 13:38:35 +02:00
Melori Arellano
553b9ff082
[DOCS] Add missing setting skip_unavailable to example
The example to delete a remote cluster is missing the `skip_unavailable` setting which results in an error:
```
        "type": "illegal_argument_exception",
        "reason": "missing required setting [cluster.remote.tiny-test.seeds] for setting [cluster.remote.tiny-test.skip_unavailable]"
```
2019-04-22 14:38:53 -06:00
Marios Trivyzas
8b2577406f
SQL: Implement CASE... WHEN... THEN... ELSE... END (#41349)
Implement the ANSI SQL CASE expression which provides the if/else
functionality common to most programming languages.

The CASE expression can have multiple WHEN branches and becomes a
powerful tool for SQL queries as it can be used in SELECT, WHERE,
GROUP BY, HAVING and ORDER BY clauses.

Closes: #36200
2019-04-22 19:26:15 +03:00
James Rodewig
9982888f4e
[DOCS] Remove inline callouts for Asciidoctor migration (#41309) 2019-04-22 06:33:55 -07:00
James Rodewig
d042f263ce
[DOCS] Remove inline callouts in SQL Command docs for Asciidoctor migration (#41276) 2019-04-22 06:22:41 -07:00
James Rodewig
25d81c149b
[DOCS] Remove inline callouts for Asciidoctor migration (#41266) 2019-04-22 06:07:53 -07:00
James Rodewig
9476a7866a
[DOCS] Replace nested open block for Asciidoctor migration (#41168)
* [DOCS] Fix nested open blocks for Asciidoctor migration

* [DOCS] Reformat table to definitions
2019-04-22 05:39:04 -07:00
Ioannis Kakavas
1013101d77
OpenID Connect realm settings and rest API docs (#40740)
This commit adds the relevant docs for the OpenID Connect
realm settings and the REST APIs that are exposed.
2019-04-22 15:38:41 +03:00
James Rodewig
7e2a968c36
[DOCS] Remove abbrevtitles for Asciidoctor migration (#41366) 2019-04-22 05:26:36 -07:00
Joe Zack
b6b98f72ce Fix discovery config in docker-compose docs (#41394)
Today's `docker-compose` docs are missing the `discovery.seed_nodes` config on
one of the nodes. With today's configuration the cluster can still form the
first time it is started, because `cluster.initial_master_nodes` requires both
nodes to bootstrap the cluster which ensures that each discover the other.
However if `es02` is elected master it will remove `es01` from the voting
configuration and then when restarted it will form a cluster on its own without
needing to do any discovery. Meanwhile `es01` doesn't know how to find `es02`
after a restart so will be unable to join this cluster.

This commit fixes this by adding the missing configuration.
2019-04-20 09:33:04 +01:00
Arlind
f23d900184 Update glossary.asciidoc (#41364) 2019-04-19 10:24:29 +02:00
Jim Ferenczi
5375465ddc
Handle unmapped fields in _field_caps API (#34071)
Today the `_field_caps` API returns the list of indices where a field
is present only if this field has different types within the requested indices.
However if the request is an index pattern (or an alias, or both...) there
is no way to infer the indices if the response contains only fields that have
the same type in all indices. This commit changes the response to always return
the list of indices in the response. It also adds a way to retrieve unmapped field
in a specific section per field called `unmapped`. This section is created for each field
that is present in some indices but not all if the parameter `include_unmapped` is set to
true in the request (defaults to false).
2019-04-19 09:17:35 +02:00
Jay Modi
64270a3ce2
Clean up docs regarding recommended JVM (#41356)
This change clarifies the documentation around the recommended JVM. The
recommended JVM is the bundled JVM. If a user does not use our
recommended JVM we suggest that they use a supported LTS version of the
JVM.

Closes #41132
2019-04-18 14:17:16 -06:00
Zachary Tong
29bca00604
Purge Rollup doc ID upgrade code from 8.0 (#41227)
This is no longer needed in 8.x, because all jobs moving from 6.x to
7.x will be forced to upgrade their rollup ID if they haven't already.
So by time we get to 8.x, all jobs will be on the new scheme.

This removes the old CRC generator and all the flags and state checking
to manage it.  We do need to keep the serialization check since a mixed
cluster will have 7.x nodes sending/receiving the flag, so that is
just hardcoded until 9.0 when we can remove it.
2019-04-17 15:44:51 -04:00
Adrien Grand
bdc0c9ca47
ProfileScorer should propagate setMinCompetitiveScore. (#40958)
Currently enabling profiling disables top-hits optimizations, which is
unfortunate: it would be nice to be able to notice the difference in method
counts and timings depending on whether total hit counts are requested.
2019-04-17 13:48:36 +02:00
Nik Everett
da504141f5
Docs: Drop inline callouts from two SQL pages (#41270)
Drops inline callouts from the docs for SQL's string and type-conversion
functions because they are not compatible with Asciidoctor.
2019-04-16 15:27:51 -04:00
Nik Everett
8cd40ead74
Drop inline callouts from SQL conditional docs (#41205)
Drops "inline callouts" from the docs for SQL conditionals because they
aren't supported by Asciidoctor.

Relates to #41128
2019-04-16 13:47:39 -04:00
Henning Andersen
8dbdd06886
Reindex from Remote encoding (#41007)
Removed the leniency when encoding remote reindex search requests that
was introduced in 7.x. All index-names are now encoded before being sent
to the remote host.

Follow-up to #40303
2019-04-16 16:46:54 +02:00