content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4
values | source large_stringclasses 42
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
[[modules-snapshots]] == Snapshot And Restore A snapshot is a backup taken from a running Elasticsearch cluster. You can take a snapshot of individual indices or of the entire cluster and store it in a repository on a shared filesystem, and there are plugins that support remote repositories on S3, HDFS, Azure, Google C... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.008844150230288506,
-0.008315322920680046,
-0.030405782163143158,
0.05960802733898163,
0.07332330197095871,
0.03564446046948433,
-0.09385451674461365,
-0.049061574041843414,
0.05048781633377075,
0.017678242176771164,
-0.00340885017067194,
0.0812034085392952,
0.058849215507507324,
-0.058... | 0.108836 |
of your data to understand the time requirements before proceeding. [float] === Repositories You must register a snapshot repository before you can perform snapshot and restore operations. We recommend creating a new snapshot repository for each major version. The valid repository settings depend on the repository type... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.035899192094802856,
-0.03359950706362724,
-0.0036193965934216976,
0.05586736649274826,
0.0026489458978176117,
-0.03835026174783707,
-0.10819494724273682,
-0.010463432408869267,
0.002175787230953574,
-0.01944573037326336,
0.0045251003466546535,
0.01138579286634922,
0.00585847208276391,
-... | -0.006712 |
chunk size can be specified in bytes or by using size value notation, i.e. 1g, 10m, 5k. Defaults to `null` (unlimited chunk size). `max\_restore\_bytes\_per\_sec`:: Throttles per node restore rate. Defaults to `40mb` per second. `max\_snapshot\_bytes\_per\_sec`:: Throttles per node snapshot rate. Defaults to `40mb` per... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.07443290203809738,
0.012500169686973095,
-0.04975852742791176,
0.0181933231651783,
-0.029426967725157738,
-0.06309663504362106,
-0.05740510672330856,
0.04363476112484932,
0.001032065600156784,
0.04769054427742958,
0.014150217175483704,
0.04905384033918381,
-0.0008386363624595106,
-0.031... | 0.075902 |
an index is missing the snapshot request will fail. By setting `include\_global\_state` to false it's possible to prevent the cluster global state to be stored as part of the snapshot. By default, the entire snapshot will fail if one or more indices participating in the snapshot don't have all primary shards available.... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
0.006835312582552433,
0.004897839389741421,
0.06225753203034401,
0.058920424431562424,
0.0628579631447792,
0.000620929931756109,
-0.11534179747104645,
-0.06328258663415909,
0.13976606726646423,
0.011644361540675163,
0.012478003278374672,
0.037212926894426346,
0.03348506614565849,
-0.062741... | 0.040228 |
TEST[continued] The command fails if some of the snapshots are unavailable. The boolean parameter `ignore\_unavailable` can be used to return all snapshots that are currently available. Getting all snapshots in the repository can be costly on cloud-based repositories, both from a cost and performance perspective. If th... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.015690496191382408,
0.03253806382417679,
-0.02296857349574566,
0.046632833778858185,
0.06393913179636002,
-0.06981601566076279,
-0.03750395029783249,
-0.06589559465646744,
0.019681844860315323,
0.027505146339535713,
0.04246515408158302,
-0.022610900923609734,
0.06184452027082443,
-0.066... | -0.010103 |
shards available. It can occur if some shards failed to snapshot for example. It is still possible to restore such indices by setting `partial` to `true`. Please note, that only successfully snapshotted shards will be restored in this case and all missing shards will be recreated empty. [float] ==== Changing index sett... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.030597809702157974,
-0.011058337986469269,
0.06428853422403336,
0.12399663776159286,
0.01625858061015606,
-0.004234089981764555,
-0.08961305022239685,
-0.08706773817539215,
0.05923230201005936,
-0.04509015753865242,
0.019190208986401558,
0.02731313928961754,
0.036809444427490234,
-0.018... | 0.005703 |
[float] [[monitor-snapshot-restore-progress]] === Monitoring snapshot/restore progress There are several ways to monitor the progress of the snapshot and restores processes while they are running. Both operations support `wait\_for\_completion` parameter that would block client until the operation is completed. This is... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.034662872552871704,
0.042898621410131454,
-0.017778968438506126,
0.004337652586400509,
0.034275952726602554,
-0.10238656401634216,
0.048226773738861084,
-0.0692896842956543,
0.06907113641500473,
0.02755114622414112,
0.00016658243839628994,
0.013212040066719055,
0.012195856310427189,
-0.... | 0.080619 |
content is not part of the cluster and therefore cluster blocks don't affect internal repository operations such as listing or deleting snapshots from an already registered repository. | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/snapshots.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.038774844259023666,
-0.04829377308487892,
-0.015016489662230015,
0.02799135260283947,
0.08549010008573532,
-0.036326710134744644,
-0.04311027750372887,
-0.07170943915843964,
0.02584364265203476,
0.002372593153268099,
0.06212111935019493,
0.05014984682202339,
0.02278357557952404,
0.00454... | 0.066949 |
[[modules-cluster]] == Cluster One of the main roles of the master is to decide which shards to allocate to which nodes, and when to move shards between nodes in order to rebalance the cluster. There are a number of settings available to control the shard allocation process: \* <> lists the settings to control the allo... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster.asciidoc | 6.2 | elasticsearch-6-2 | [
0.06668885797262192,
-0.01445336826145649,
0.006211549509316683,
0.046350009739398956,
0.029551181942224503,
-0.017756307497620583,
-0.07939474284648895,
-0.04116922989487648,
0.03965658321976662,
0.01344852801412344,
-0.008718566037714481,
0.039561111479997635,
0.036613829433918,
-0.02954... | 0.12607 |
[[modules-cross-cluster-search]] == {ccs-cap} The \_{ccs}\_ feature allows any node to act as a federated client across multiple clusters. In contrast to the <> feature, a {ccs} node won't join the remote cluster, instead it connects to a remote cluster in a light fashion in order to execute federated search requests. ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cross-cluster-search.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.019179455935955048,
-0.02216566912829876,
-0.0475752055644989,
0.1252560168504715,
0.11264131963253021,
0.02882932871580124,
0.02213491126894951,
-0.019634777680039406,
-0.02188940718770027,
-0.023704180493950844,
0.005880999378859997,
-0.09913265705108643,
0.05042605847120285,
-0.01202... | 0.162408 |
{ "acknowledged" : true, "persistent" : {}, "transient" : {} } -------------------------------------------------- // TESTRESPONSE ////////////////////////// [float] === Using {ccs} To search the `twitter` index on remote cluster `cluster\_one` the index name must be prefixed with the cluster alias separated by a `:` ch... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cross-cluster-search.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.061768218874931335,
0.07917701452970505,
0.0085074994713068,
0.12065049260854721,
0.02063458226621151,
0.015422947704792023,
0.015035155229270458,
0.008221426978707314,
0.06713547557592392,
-0.04479427635669708,
0.035256121307611465,
-0.07760132849216461,
0.01855393499135971,
0.01431829... | 0.098603 |
got skipped [float] [[cross-cluster-search-settings]] === {ccs-cap} settings `search.remote.connections\_per\_cluster`:: The number of nodes to connect to per remote cluster. The default is `3`. `search.remote.initial\_connect\_timeout`:: The time to wait for remote connections to be established when the node starts. T... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cross-cluster-search.asciidoc | 6.2 | elasticsearch-6-2 | [
0.01166833657771349,
-0.011812557466328144,
-0.07442731410264969,
0.14554686844348907,
0.043123144656419754,
0.03413194417953491,
-0.036675889045000076,
-0.02871486358344555,
-0.020854949951171875,
0.013058559969067574,
0.013430103659629822,
-0.04891185835003853,
0.025173820555210114,
-0.0... | 0.037748 |
[[modules-discovery]] == Discovery The discovery module is responsible for discovering nodes within a cluster, as well as electing a master node. Note, Elasticsearch is a peer to peer based system, nodes communicate with one another directly if operations are delegated / broadcast. All the main APIs (index, delete, sea... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/discovery.asciidoc | 6.2 | elasticsearch-6-2 | [
0.009689564816653728,
0.01555879507213831,
-0.025068392977118492,
0.10179569572210312,
0.03694189339876175,
-0.02406975068151951,
-0.005003795493394136,
-0.08116184175014496,
0.06775633990764618,
0.018857764080166817,
-0.0010803627083078027,
-0.06357840448617935,
0.05810030549764633,
0.015... | 0.14752 |
[[modules-threadpool]] == Thread Pool A node holds several thread pools in order to improve how threads memory consumption are managed within a node. Many of these pools also have queues associated with them, which allow pending requests to be held instead of discarded. There are several thread pools, but the important... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/threadpool.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.048687420785427094,
0.00191275286488235,
-0.05537378787994385,
0.043046675622463226,
-0.0012065006885677576,
-0.08907012641429901,
0.05998094007372856,
-0.005778016988188028,
-0.010430759750306606,
0.006294046528637409,
-0.0009128704550676048,
0.02300969697535038,
0.0091839749366045,
-0... | 0.189857 |
can be adjusted to. The `max\_queue\_size` setting controls the maximum amount the `queue\_size` can be adjusted to. The `auto\_queue\_frame\_size` setting controls the number of operations during which measurement is taken before the queue is adjusted. It should be large enough that a single operation cannot unduly bi... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/threadpool.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.06970883905887604,
-0.003268394386395812,
-0.03953296318650246,
0.010421901941299438,
-0.06911880522966385,
-0.08966723829507828,
0.05528257042169571,
-0.062456656247377396,
0.04680255800485611,
0.0040979692712426186,
-0.02364141121506691,
-0.032779254019260406,
-0.01868421398103237,
-0... | 0.053601 |
[[modules-transport]] == Transport The transport module is used for internal communication between nodes within the cluster. Each call that goes from one node to the other uses the transport module (for example, when an HTTP GET request is processed by one node, and should actually be processed by another node that hol... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/transport.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.05251280218362808,
0.048360805958509445,
-0.0500483438372612,
0.05620797723531723,
-0.012604775838553905,
-0.08039204031229019,
0.030042054131627083,
-0.011038214899599552,
0.044681139290332794,
-0.019075293093919754,
-0.06718271970748901,
-0.03569506108760834,
0.0362323559820652,
-0.04... | 0.256934 |
influence such as a firewall. It is important to configure your network to preserve long-lived idle connections between Elasticsearch nodes, for instance by leaving `tcp\_keep\_alive` enabled and ensuring that the keepalive interval is shorter than any timeout that might cause idle connections to be closed, or by setti... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/transport.asciidoc | 6.2 | elasticsearch-6-2 | [
0.05378888547420502,
0.04933815449476242,
0.030902216210961342,
0.10139237344264984,
0.07939878851175308,
-0.06211592257022858,
-0.04402271285653114,
-0.020351499319076538,
0.07524374127388,
0.02269684337079525,
-0.09424251317977905,
0.031431831419467926,
-0.04618842154741287,
0.0008852616... | 0.137348 |
[[modules-memcached]] == memcached The memcached module allows to expose \*Elasticsearch\* APIs over the memcached protocol (as closely as possible). It is provided as a plugin called `transport-memcached` and installing is explained https://github.com/elastic/elasticsearch-transport-memcached[here] . Another option is... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/memcached.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0011144669260829687,
0.09561727941036224,
-0.02754267118871212,
0.010799109004437923,
-0.03850243240594864,
-0.07010180503129959,
-0.04429607093334198,
0.03457343950867653,
0.05229142680764198,
0.0256905946880579,
-0.07729378342628479,
-0.026643047109246254,
0.008209054358303547,
0.02183... | 0.160759 |
[[modules-indices]] == Indices The indices module controls index-related settings that are globally managed for all indices, rather than being configurable at a per-index level. Available settings include: <>:: Circuit breakers set limits on memory usage to avoid out of memory exceptions. <>:: Set limits on the amount ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices.asciidoc | 6.2 | elasticsearch-6-2 | [
0.06204254925251007,
0.03170212730765343,
-0.06279420107603073,
0.060432612895965576,
-0.024569997563958168,
-0.03939396142959595,
0.014309997670352459,
-0.0012717214412987232,
0.01759997196495533,
-0.028526462614536285,
-0.004604071378707886,
0.02787162736058235,
-0.01749318651854992,
-0.... | 0.135473 |
[[modules-tribe]] == Tribe node deprecated[5.4.0,The `tribe` node is deprecated in favour of <> and will be removed in Elasticsearch 7.0.] The \_tribes\_ feature allows a \_tribe node\_ to act as a federated client across multiple clusters. The tribe node works by retrieving the cluster state from all connected cluster... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/tribe.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0618567131459713,
0.019552472978830338,
-0.014096627943217754,
0.07715357095003128,
0.018390221521258354,
-0.04775884747505188,
-0.06484830379486084,
-0.07843023538589478,
-0.031322892755270004,
0.02879474312067032,
-0.034942321479320526,
-0.08836903423070908,
0.021720023825764656,
-0.00... | 0.15127 |
[[modules-node]] == Node Any time that you start an instance of Elasticsearch, you are starting a \_node\_. A collection of connected nodes is called a <>. If you are running a single node of Elasticsearch, then you have a cluster of one node. Every node in the cluster can handle <> and <> traffic by default. The trans... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/node.asciidoc | 6.2 | elasticsearch-6-2 | [
0.016525164246559143,
0.01949455961585045,
-0.02165931835770607,
0.040807198733091354,
0.043555255979299545,
0.02325848862528801,
-0.013890459202229977,
-0.0059892525896430016,
0.06386160850524902,
-0.009123764000833035,
-0.04615513235330582,
-0.007128966972231865,
0.042445313185453415,
-0... | 0.201707 |
a node's resources. To ensure that your master node is stable and not under pressure, it is a good idea in a bigger cluster to split the roles between dedicated master-eligible nodes and dedicated data nodes. While master nodes can also behave as <> and route search and indexing requests from clients to data nodes, it ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/node.asciidoc | 6.2 | elasticsearch-6-2 | [
0.009862345643341541,
-0.0315859280526638,
-0.008064871653914452,
0.09489469230175018,
0.044778600335121155,
-0.04204205423593521,
-0.07588669657707214,
-0.005132442805916071,
-0.023289687931537628,
0.015388918109238148,
-0.0434541255235672,
0.011694484390318394,
0.07133094221353531,
-0.05... | 0.0705 |
master-eligible nodes and set `minimum\_master\_nodes` to `2`. You never have to change this setting, no matter how many dedicated data nodes you add to the cluster. [float] [[data-node]] === Data Node Data nodes hold the shards that contain the documents you have indexed. Data nodes handle data related operations like... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/node.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0836983174085617,
-0.028776094317436218,
0.006932753603905439,
0.09611812233924866,
-0.004902733489871025,
-0.033357150852680206,
-0.06668088585138321,
0.009050223976373672,
0.0032078498043119907,
0.05241147428750992,
-0.026408014819025993,
-0.011027039960026741,
0.08084481209516525,
-0.... | 0.035653 |
and cluster metadata will be stored. The `path.data` defaults to `$ES\_HOME/data` but can be configured in the `elasticsearch.yml` config file an absolute path or a path relative to `$ES\_HOME` as follows: [source,yaml] ----------------------- path.data: /var/elasticsearch/data ----------------------- Like all node set... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/node.asciidoc | 6.2 | elasticsearch-6-2 | [
0.06146499142050743,
0.022306865081191063,
-0.03526423126459122,
0.06934105604887009,
0.06459972262382507,
0.010043767280876637,
-0.018649693578481674,
0.0023878347128629684,
0.06039317697286606,
0.03259127959609032,
0.01694442704319954,
0.0019949101842939854,
-0.017720621079206467,
-0.032... | 0.102625 |
[[allocation-awareness]] === Shard Allocation Awareness When running nodes on multiple VMs on the same physical server, on multiple racks, or across multiple zones or domains, it is more likely that two nodes on the same physical server, in the same rack, or in the same zone or domain will crash at the same time, rathe... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/allocation_awareness.asciidoc | 6.2 | elasticsearch-6-2 | [
0.09514007717370987,
0.011328345164656639,
0.03590046614408493,
0.020938511937856674,
0.05297655612230301,
-0.020726200193166733,
-0.03160436451435089,
-0.02628682367503643,
0.06835106760263443,
0.04524027928709984,
-0.08469230681657791,
0.015424023382365704,
0.07508789747953415,
-0.048208... | 0.106579 |
But in this example, this sudden extra load would cause the hardware in the remaining zone to be overloaded. Forced awareness solves this problem by \*NEVER\* allowing copies of the same shard to be allocated to the same zone. For example, lets say we have an awareness attribute called `zone`, and we know we are going ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/allocation_awareness.asciidoc | 6.2 | elasticsearch-6-2 | [
0.04432641714811325,
-0.032469529658555984,
0.00905682984739542,
0.0706460252404213,
0.04591481387615204,
-0.054497137665748596,
0.03496100753545761,
-0.05982590094208717,
0.03951217606663704,
0.0531308688223362,
0.0085228206589818,
-0.01837659627199173,
0.04752665013074875,
-0.10936563462... | 0.12559 |
[[shards-allocation]] === Cluster Level Shard Allocation Shard allocation is the process of allocating shards to nodes. This can happen during initial recovery, replica allocation, rebalancing, or when nodes are added or removed. [float] === Shard Allocation Settings The following \_dynamic\_ settings may be used to co... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/shards_allocation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.041219890117645264,
-0.027321137487888336,
0.008986079134047031,
0.04925564303994179,
0.012787348590791225,
-0.01778898946940899,
-0.02582789771258831,
-0.06809819489717484,
0.03964274004101753,
0.00525709381327033,
0.02216182090342045,
0.03843473643064499,
0.019572671502828598,
0.003497... | 0.114679 |
to the weight of any other node by more than the `balance.threshold`. `cluster.routing.allocation.balance.shard`:: Defines the weight factor for the total number of shards allocated on a node (float). Defaults to `0.45f`. Raising this raises the tendency to equalize the number of shards across all nodes in the cluster.... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/shards_allocation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.07112451642751694,
-0.019510366022586823,
0.014090541750192642,
0.04407266154885292,
0.0002669012174010277,
-0.06498612463474274,
-0.028066059574484825,
-0.014069238677620888,
0.03114091418683529,
0.022901052609086037,
-0.0607491098344326,
0.009577049873769283,
0.02030571922659874,
-0.01... | 0.056733 |
[[misc-cluster]] === Miscellaneous cluster settings [[cluster-read-only]] ==== Metadata An entire cluster may be set to read-only with the following \_dynamic\_ setting: `cluster.blocks.read\_only`:: Make the whole cluster read only (indices do not accept write operations), metadata is not allowed to be modified (creat... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/misc.asciidoc | 6.2 | elasticsearch-6-2 | [
0.025348423048853874,
-0.0067919595167040825,
-0.07001824676990509,
0.10606623440980911,
0.015013100579380989,
-0.030888451263308525,
-0.02225264348089695,
-0.04075673222541809,
0.03078092634677887,
0.00908439140766859,
-0.005141718778759241,
0.0030324794352054596,
0.016376614570617676,
-0... | 0.136425 |
[[disk-allocator]] === Disk-based Shard Allocation Elasticsearch considers the available disk space on a node before deciding whether to allocate new shards to that node or to actively relocate shards away from that node. Below are the settings that can be configured in the `elasticsearch.yml` config file or updated dy... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/disk_allocator.asciidoc | 6.2 | elasticsearch-6-2 | [
0.08471502363681793,
-0.006599701941013336,
0.020760351791977882,
0.07258964329957962,
0.08553435653448105,
-0.04763764888048172,
-0.060428306460380554,
-0.00013490852143149823,
0.049439072608947754,
0.04268626868724823,
0.000024297749405377544,
0.03403141722083092,
0.01539288368076086,
0.... | 0.05385 |
around. An example of updating the low watermark to at least 100 gigabytes free, a high watermark of at least 50 gigabytes free, and a flood stage watermark of 10 gigabytes free, and updating the information about the cluster every minute: [source,js] -------------------------------------------------- PUT \_cluster/set... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/disk_allocator.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.019005844369530678,
0.013479639776051044,
0.003958742134273052,
0.08658494800329208,
0.10115999728441238,
-0.10560336709022522,
-0.03497560694813728,
0.04636035114526749,
0.00794510543346405,
0.013543248176574707,
-0.027490144595503807,
0.0008108858019113541,
0.01444090437144041,
-0.054... | 0.123376 |
[[allocation-filtering]] === Shard Allocation Filtering While <> provides \*per-index\* settings to control the allocation of shards to nodes, cluster-level shard allocation filtering allows you to allow or disallow the allocation of shards from \*any\* index to particular nodes. The available \_dynamic\_ cluster setti... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/cluster/allocation_filtering.asciidoc | 6.2 | elasticsearch-6-2 | [
0.08621373027563095,
0.049920570105314255,
0.04628198593854904,
0.061346594244241714,
0.05109811946749687,
-0.008368792943656445,
0.01605137623846531,
-0.10459087789058685,
0.03227951377630234,
0.0024353794287890196,
0.003096220316365361,
-0.015582844614982605,
0.031723298132419586,
0.0039... | 0.048249 |
[[circuit-breaker]] === Circuit Breaker Elasticsearch contains multiple circuit breakers used to prevent operations from causing an OutOfMemoryError. Each breaker specifies a limit for how much memory it can use. Additionally, there is a parent-level breaker that specifies the total amount of memory that can be used ac... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/circuit_breaker.asciidoc | 6.2 | elasticsearch-6-2 | [
0.00860009714961052,
0.07989434897899628,
0.007131681777536869,
0.06033306568861008,
-0.0026873524766415358,
-0.017144089564681053,
-0.04525959491729736,
0.06491740047931671,
-0.01086600124835968,
0.062124934047460556,
-0.06023635342717171,
0.003705675480887294,
0.04626816138625145,
0.0009... | 0.082955 |
[[modules-fielddata]] === Fielddata The field data cache is used mainly when sorting on or computing aggregations on a field. It loads all the field values to memory in order to provide fast document based access to those values. The field data cache can be expensive to build for a field, so its recommended to have eno... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/fielddata.asciidoc | 6.2 | elasticsearch-6-2 | [
0.06900867074728012,
0.05913058668375015,
-0.06653270125389099,
0.08402102440595627,
0.008688666857779026,
-0.08651279658079147,
0.044631775468587875,
0.023234548047184944,
0.022586015984416008,
0.02118643745779991,
-0.03020559437572956,
0.08975183963775635,
-0.059325262904167175,
-0.05872... | 0.126996 |
[[indexing-buffer]] === Indexing Buffer The indexing buffer is used to store newly indexed documents. When it fills up, the documents in the buffer are written to a segment on disk. It is divided between all shards on the node. The following settings are \_static\_ and must be configured on every data node in the clust... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/indexing_buffer.asciidoc | 6.2 | elasticsearch-6-2 | [
0.09349849820137024,
0.015266858041286469,
-0.014843003824353218,
0.07496373355388641,
-0.02076360210776329,
-0.03646853566169739,
-0.017074555158615112,
0.021151581779122353,
0.03480653837323189,
-0.0033618996385484934,
-0.04046126827597618,
0.042251210659742355,
0.0185378585010767,
0.009... | 0.129728 |
[[shard-request-cache]] === Shard request cache When a search request is run against an index or against many indices, each involved shard executes the search locally and returns its local results to the \_coordinating node\_, which combines these shard-level results into a ``global'' result set. The shard-level reques... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/request_cache.asciidoc | 6.2 | elasticsearch-6-2 | [
0.01593770645558834,
0.03098813258111477,
0.017470838502049446,
0.06383845955133438,
0.0248227771371603,
-0.07617373019456863,
0.011812499724328518,
-0.08588992804288864,
0.052604831755161285,
0.01004927046597004,
-0.027651596814393997,
0.05718331038951874,
-0.01536592748016119,
-0.0246355... | 0.080277 |
of the heap. This can be changed in the `config/elasticsearch.yml` file with: [source,yaml] -------------------------------- indices.requests.cache.size: 2% -------------------------------- Also, you can use the +indices.requests.cache.expire+ setting to specify a TTL for cached results, but there should be no reason t... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/request_cache.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0009760959073901176,
0.03878037631511688,
0.004422876052558422,
0.06136243790388107,
-0.021345632150769234,
-0.0868605375289917,
-0.017871243879199028,
-0.026362141594290733,
0.10090703517198563,
0.004808512516319752,
-0.04876124858856201,
0.032243888825178146,
-0.02648283541202545,
-0.0... | 0.018799 |
[[query-cache]] === Node Query Cache The query cache is responsible for caching the results of queries. There is one queries cache per node that is shared by all shards. The cache implements an LRU eviction policy: when a cache becomes full, the least recently used data is evicted to make way for new data. The query ca... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/indices/query_cache.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0847121849656105,
0.00829692929983139,
0.03574405610561371,
0.09245339781045914,
0.009735995903611183,
-0.06333009898662567,
0.0094812186434865,
-0.06451091170310974,
0.05249843746423721,
0.025292199105024338,
-0.02056903764605522,
0.042876631021499634,
-0.01100364699959755,
-0.050098456... | 0.101863 |
[[modules-scripting-security]] === Scripting and security While Elasticsearch contributors make every effort to prevent scripts from running amok, security is something best done in https://en.wikipedia.org/wiki/Defense\_in\_depth\_(computing)[layers] because all software has bugs and it is important to minimize the ri... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/security.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.002473005559295416,
0.07521926611661911,
-0.0196547694504261,
0.025295736268162727,
0.011933799833059311,
-0.03049752302467823,
-0.0351317897439003,
0.045618388801813126,
0.03515208140015602,
0.05186337232589722,
-0.05505872517824173,
-0.0248273853212595,
0.050761882215738297,
0.0046144... | 0.114525 |
no types are allowed, set `script.allowed\_types` to be `none`. [source,yaml] ---- script.allowed\_types: inline <1> ---- <1> This will allow only inline scripts to be executed but not stored scripts (or any other types). [[allowed-script-contexts-setting]] [float] === Allowed script contexts setting By default all scr... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/security.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.06347271054983139,
-0.02583910897374153,
-0.07403375953435898,
0.07210582494735718,
0.018840033560991287,
-0.012630718760192394,
0.024415645748376846,
-0.045075856149196625,
-0.011787531897425652,
0.022255724295973778,
0.015662075951695442,
-0.024261370301246643,
0.026507439091801643,
-... | 0.064819 |
[[modules-scripting-engine]] === Advanced scripts using script engines A `ScriptEngine` is a backend for implementing a scripting language. It may also be used to write scripts that need to use advanced internals of scripting. For example, a script that wants to use term frequencies while scoring. The plugin {plugins}/... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/engine.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03807922452688217,
-0.0034676066134124994,
-0.044692251831293106,
0.05093565210700035,
-0.05749494209885597,
0.05000123754143715,
-0.052688807249069214,
0.05547654628753662,
-0.00287619698792696,
0.021475274115800858,
-0.049941536039114,
-0.02838006429374218,
0.0262017659842968,
-0.0033... | 0.116664 |
[[modules-scripting-fields]] === Accessing document fields and special variables Depending on where a script is used, it will have access to certain special variables and document fields. [float] == Update scripts A script used in the <>, <>, or <> API will have access to the `ctx` variable which exposes: [horizontal] ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/fields.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.09013231843709946,
0.07497217506170273,
-0.08392836153507233,
0.10623392462730408,
0.010302100330591202,
-0.04992350563406944,
0.020256035029888153,
-0.010008075274527073,
0.0697920173406601,
0.0019922442734241486,
0.03602863475680351,
0.08228015899658203,
0.07107347249984741,
-0.105556... | 0.147274 |
makes sense to use `\_source` or stored fields when generating a <> for the top ten hits from a search result but, for other search and aggregation use cases, always prefer using doc values. ========================================================= For instance: [source,js] ------------------------------- PUT my\_index... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/fields.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.07423783838748932,
0.03437172248959541,
0.08999990671873093,
0.08895070105791092,
-0.017613455653190613,
0.050181303173303604,
-0.019576193764805794,
0.032758865505456924,
0.11194019764661789,
0.007012810092419386,
-0.01943095400929451,
0.007169840391725302,
0.0692574679851532,
-0.03770... | 0.013498 |
[[modules-scripting-using]] === How to use scripts Wherever scripting is supported in the Elasticsearch API, the syntax follows the same pattern: [source,js] ------------------------------------- "script": { "lang": "...", <1> "source" | "id": "...", <2> "params": { ... } <3> } ------------------------------------- // ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/using.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.045676086097955704,
0.042292430996894836,
-0.013636196032166481,
0.059862084686756134,
0.0422782339155674,
0.03890809416770935,
-0.012694680131971836,
0.010346362367272377,
0.06369594484567642,
0.006241830997169018,
-0.03235289454460144,
-0.016075411811470985,
0.05315719544887543,
-0.03... | 0.125759 |
-------------------------------------------------- // CONSOLE // TEST[continued] And deleted with: [source,js] ----------------------------------- DELETE \_scripts/calculate-score ----------------------------------- // CONSOLE // TEST[continued] [float] [[modules-scripting-using-caching]] === Script Caching All scripts... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/using.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.059693749994039536,
0.007421700283885002,
-0.06091389060020447,
0.053844600915908813,
0.058757588267326355,
-0.016048163175582886,
-0.02453184500336647,
-0.0008452155161648989,
0.09190767258405685,
0.03222130611538887,
0.028953509405255318,
0.06762617826461792,
-0.010334175080060959,
-0... | 0.024365 |
[[modules-scripting-expression]] === Lucene Expressions Language Lucene's expressions compile a `javascript` expression to bytecode. They are designed for high-performance custom ranking and sorting functions and are enabled for `inline` and `stored` scripting by default. [float] === Performance Expressions were design... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/expression.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.05209869146347046,
0.03367701172828674,
0.03300289809703827,
0.08570265024900436,
-0.025309577584266663,
0.0007700822898186743,
-0.012373280711472034,
0.042069707065820694,
0.02736343815922737,
0.024185139685869217,
-0.052910856902599335,
0.015342691913247108,
-0.04330254718661308,
0.00... | 0.152023 |
kilometers from Washington, DC: `haversin(38.9072, 77.0369, doc['field\_name'].lat, doc['field\_name'].lon)` In this example the coordinates could have been passed as parameters to the script, e.g. based on geolocation of the user. [float] === Limitations There are a few limitations relative to other script languages: ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/scripting/expression.asciidoc | 6.2 | elasticsearch-6-2 | [
0.025533761829137802,
0.07176826894283295,
-0.0174395889043808,
-0.019666939973831177,
0.0024780158419162035,
-0.06095978617668152,
0.020711738616228104,
0.06206992641091347,
0.008604183793067932,
-0.02438277006149292,
0.018314668908715248,
-0.020128710195422173,
0.01574673503637314,
-0.05... | 0.06368 |
[[modules-discovery-zen]] === Zen Discovery The zen discovery is the built in discovery module for Elasticsearch and the default. It provides unicast discovery, but can be extended to support cloud environments and other forms of discovery. The zen discovery is integrated with other modules, for example, all communicat... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/discovery/zen.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.0541355162858963,
-0.00672753294929862,
-0.07054033130407333,
0.04814991354942322,
0.048403315246105194,
-0.021246707066893578,
0.05541897192597389,
-0.11007876694202423,
0.029369179159402847,
0.012354433536529541,
-0.03866749256849289,
-0.0011403979733586311,
-0.0021765355486422777,
0.... | 0.163289 |
setting controls the minimum number of active master eligible nodes that should be a part of any active cluster. If this requirement is not met the active master node will step down and a new master election will begin. This setting must be set to a <> of your master eligible nodes. It is recommended to avoid having on... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/modules/discovery/zen.asciidoc | 6.2 | elasticsearch-6-2 | [
0.00411389721557498,
-0.030309248715639114,
-0.048428867012262344,
0.022441359236836433,
0.03707512840628624,
0.021284954622387886,
-0.02434549480676651,
-0.011167029850184917,
-0.046551890671253204,
0.053641095757484436,
-0.041797276586294174,
-0.04054025560617447,
0.05094904825091362,
-0... | 0.103173 |
[[search-aggregations-pipeline]] == Pipeline Aggregations Pipeline aggregations work on the outputs produced from other aggregations rather than from document sets, adding information to the output tree. There are many different types of pipeline aggregation, each computing different information from other aggregations... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.052708178758621216,
-0.021257489919662476,
0.03972255066037178,
0.047850701957941055,
-0.05803442373871803,
-0.026326507329940796,
-0.06119988113641739,
0.02728833071887493,
0.06599851697683334,
-0.05751394107937813,
-0.05976339429616928,
-0.03562818840146065,
0.04482078179717064,
-0.02... | 0.037431 |
of a specific metric: [source,js] -------------------------------------------------- POST /\_search { "aggs": { "my\_date\_histo": { "date\_histogram": { "field":"timestamp", "interval":"day" }, "aggs": { "the\_movavg": { "moving\_avg": { "buckets\_path": "\_count" } <1> } } } } } --------------------------------------... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.008762672543525696,
0.001811985275708139,
0.014470215886831284,
0.06925699859857559,
-0.04368012398481369,
0.031955938786268234,
0.008491628803312778,
0.043216459453105927,
0.07813213765621185,
-0.04138598591089249,
-0.02955402061343193,
-0.05679063871502876,
0.02603103779256344,
-0.004... | 0.040487 |
[[search-aggregations-metrics]] == Metrics Aggregations The aggregations in this family compute metrics based on values extracted in one way or another from the documents that are being aggregated. The values are typically extracted from the fields of the document (using the field data), but can also be generated using... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.030361559242010117,
-0.02368297427892685,
-0.09404699504375458,
0.041580718010663986,
-0.03835370019078255,
-0.005205116700381041,
0.02179928869009018,
0.03259969875216484,
0.13071149587631226,
-0.06316686421632767,
0.005381138529628515,
-0.0713004544377327,
0.0358881950378418,
-0.00695... | 0.167676 |
[[search-aggregations-bucket]] == Bucket Aggregations Bucket aggregations don't calculate metrics over fields like the metrics aggregations do, but instead, they create buckets of documents. Each bucket is associated with a criterion (depending on the aggregation type) which determines whether or not a document in the ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/bucket.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.06334234774112701,
-0.022795097902417183,
0.011901023797690868,
0.07171045988798141,
-0.030207600444555283,
0.0054851556196808815,
-0.0368301086127758,
0.054911501705646515,
0.14186203479766846,
-0.023237410932779312,
-0.05197323486208916,
-0.006074861623346806,
0.07460711151361465,
-0.... | 0.069491 |
[[caching-heavy-aggregations]] == Caching heavy aggregations Frequently used aggregations (e.g. for display on the home page of a website) can be cached for faster responses. These cached results are the same results that would be returned by an uncached aggregation -- you will never get stale results. See <> for more ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/misc.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.07818925380706787,
0.037461161613464355,
0.001237837364897132,
0.1268991231918335,
0.021570835262537003,
-0.05308173596858978,
-0.025905603542923927,
-0.03053048439323902,
0.12887367606163025,
-0.0512472502887249,
-0.006055088248103857,
0.0472649447619915,
-0.009392909705638885,
-0.1021... | 0.059673 |
[[search-aggregations-metrics-stats-aggregation]] === Stats Aggregation A `multi-value` metrics aggregation that computes stats over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script. The stats... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/stats-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.017262820154428482,
0.09540317952632904,
-0.052952297031879425,
0.07188943773508072,
-0.023242387920618057,
0.04425197094678879,
-0.020927615463733673,
0.08194418251514435,
0.05628993734717369,
-0.013392080552875996,
-0.030644040554761887,
-0.04334520921111107,
0.02611355483531952,
0.01... | 0.035962 |
[[search-aggregations-metrics-extendedstats-aggregation]] === Extended Stats Aggregation A `multi-value` metrics aggregation that computes stats over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.015707582235336304,
0.09873832017183304,
-0.017747649922966957,
0.06409280747175217,
-0.005584769416600466,
0.03702518716454506,
-0.024735335260629654,
0.08047518879175186,
0.02388768643140793,
-0.018894590437412262,
-0.005562322214245796,
-0.009174870327115059,
0.02076161466538906,
0.0... | 0.042285 |
get the new stats: [source,js] -------------------------------------------------- GET /exams/\_search { "size": 0, "aggs" : { "grades\_stats" : { "extended\_stats" : { "field" : "grade", "script" : { "lang" : "painless", "source": "\_value \* params.correction", "params" : { "correction" : 1.2 } } } } } } -------------... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.0471218079328537,
0.12849514186382294,
-0.026694588363170624,
0.1228548139333725,
0.01865721307694912,
0.03888924792408943,
0.002264099894091487,
0.07043313980102539,
0.012608320452272892,
0.0026235058903694153,
0.040073782205581665,
-0.02649354562163353,
0.013555333949625492,
-0.047125... | 0.019353 |
[[search-aggregations-metrics-avg-aggregation]] === Avg Aggregation A `single-value` metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script.... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/avg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.0061426726169884205,
0.10282306373119354,
-0.04462441802024841,
0.0945427417755127,
-0.024937503039836884,
0.033346161246299744,
-0.00010762883175630122,
0.07666376233100891,
0.02901112474501133,
-0.005982912611216307,
-0.03250296786427498,
-0.04673932120203972,
0.01883845403790474,
0.00... | 0.00036 |
[[search-aggregations-metrics-valuecount-aggregation]] === Value Count Aggregation A `single-value` metrics aggregation that counts the number of values that are extracted from the aggregated documents. These values can be extracted either from specific fields in the documents, or be generated by a provided script. Typ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/valuecount-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03617018088698387,
0.06232984736561775,
-0.03641095384955406,
0.15324674546718597,
-0.05123303458094597,
0.06174129992723465,
0.02371235378086567,
0.07430744916200638,
0.12193670868873596,
-0.06637485325336456,
-0.054722514003515244,
-0.02522737719118595,
0.025674523785710335,
-0.041003... | 0.058339 |
[[search-aggregations-metrics-max-aggregation]] === Max Aggregation A `single-value` metrics aggregation that keeps track and returns the maximum value among the numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/max-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03387729078531265,
0.04152243584394455,
-0.0082011129707098,
0.046326249837875366,
-0.05056170001626015,
0.01627490483224392,
-0.06876234710216522,
0.08990897238254547,
0.0950392410159111,
-0.021446656435728073,
-0.10276414453983307,
0.003984968643635511,
0.006881916429847479,
0.0333697... | 0.011153 |
[[search-aggregations-metrics-percentile-aggregation]] === Percentiles Aggregation A `multi-value` metrics aggregation that calculates one or more percentiles over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/percentile-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.032248325645923615,
0.020095698535442352,
-0.04280386120080948,
0.03876686468720436,
-0.034577660262584686,
-0.13322503864765167,
-0.029094059020280838,
0.06415235251188278,
0.06411843001842499,
-0.03181225433945656,
-0.011963455937802792,
0.014778208918869495,
0.04466450586915016,
0.00... | 0.045551 |
seconds, we could use a script to convert them on-the-fly: [source,js] -------------------------------------------------- GET latency/\_search { "size": 0, "aggs" : { "load\_time\_outlier" : { "percentiles" : { "script" : { "lang": "painless", "source": "doc['load\_time'].value / params.timeUnit", <1> "params" : { "tim... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/percentile-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.019847579300403595,
0.07695931196212769,
-0.061289913952350616,
0.08539324998855591,
-0.01411384902894497,
-0.0672530010342598,
0.011360913515090942,
0.06175012141466141,
0.051652662456035614,
-0.04223128780722618,
-0.018790652975440025,
-0.06115467846393585,
-0.021351750940084457,
-0.0... | 0.05028 |
accuracy of your percentiles at the cost of more memory. Larger compression values also make the algorithm slower since the underlying tree data structure grows in size, resulting in more expensive operations. The default compression value is `100`. A "node" uses roughly 32 bytes of memory, so under worst-case scenario... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/percentile-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.05034128203988075,
0.05275975912809372,
-0.024878190830349922,
-0.02622918225824833,
0.00734443636611104,
-0.09745873510837555,
-0.08399877697229385,
0.07449451088905334,
0.019472286105155945,
0.028136763721704483,
-0.0755305290222168,
-0.01076685544103384,
0.0059338221326470375,
-0.0369... | 0.036385 |
[[search-aggregations-metrics-geocentroid-aggregation]] === Geo Centroid Aggregation A metric aggregation that computes the weighted https://en.wikipedia.org/wiki/Centroid[centroid] from all coordinate values for a <> field. Example: [source,js] -------------------------------------------------- PUT /museums { "mapping... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/geocentroid-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.016864895820617676,
0.07216428965330124,
0.056672558188438416,
0.03817575052380562,
-0.0018481926526874304,
0.028350496664643288,
-0.04444624483585358,
-0.028262870386242867,
0.07661910355091095,
-0.0014564121374860406,
-0.06839881837368011,
-0.02487611025571823,
0.02772306278347969,
0.0... | 0.074205 |
[[search-aggregations-metrics-sum-aggregation]] === Sum Aggregation A `single-value` metrics aggregation that sums up numeric values that are extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script. Assuming the da... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/sum-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.029977602884173393,
0.1141248270869255,
-0.013023673556745052,
0.10205090790987015,
-0.011874317191541195,
0.10320883244276047,
0.010040379129350185,
0.06173914670944214,
0.0811224952340126,
-0.03483375534415245,
-0.09123814851045609,
-0.0693831667304039,
0.00970130879431963,
-0.0071091... | 0.025483 |
[[search-aggregations-metrics-scripted-metric-aggregation]] === Scripted Metric Aggregation experimental[] A metric aggregation that executes using scripts to provide a metric output. Example: [source,js] -------------------------------------------------- POST ledger/\_search?size=0 { "query" : { "match\_all" : {} }, "... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.041478291153907776,
0.0517166331410408,
-0.023930538445711136,
0.08302584290504456,
-0.0744924396276474,
0.013627825304865837,
0.005152552854269743,
0.08797281235456467,
0.07291959971189499,
-0.00007984693365870044,
-0.021323159337043762,
-0.06958115100860596,
0.013015935197472572,
-0.0... | 0.043318 |
finally returns `profit`. reduce\_script:: Executed once on the coordinating node after all shards have returned their results. The script is provided with access to a variable `\_aggs` which is an array of the result of the combine\_script on each shard. If a reduce\_script is not provided the reduce phase will return... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.016222769394516945,
0.07639607042074203,
0.07885091751813889,
0.1235634908080101,
-0.024373503401875496,
0.00045769423013553023,
-0.006880905479192734,
-0.019139645621180534,
0.10333527624607086,
-0.0019697649404406548,
-0.005671361461281776,
0.02399086393415928,
0.022612178698182106,
-... | 0.032425 |
this case the `reduce\_script`'s `\_aggs` variable will contain `null` as a response from that shard. `reduce\_script`'s should therefore expect and deal with `null` responses from shards. | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.017309844493865967,
0.035660263150930405,
0.08856367319822311,
0.04510654881596565,
0.009540832601487637,
-0.06014503538608551,
-0.017352290451526642,
-0.016004865989089012,
0.06530015170574188,
0.017872584983706474,
0.01434437558054924,
-0.02934895269572735,
0.04862534627318382,
-0.0439... | -0.023232 |
[[search-aggregations-metrics-geobounds-aggregation]] === Geo Bounds Aggregation A metric aggregation that computes the bounding box containing all geo\_point values for a field. Example: [source,js] -------------------------------------------------- PUT /museums { "mappings": { "doc": { "properties": { "location": { "... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/geobounds-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.030516846105456352,
0.11236471682786942,
0.062321268022060394,
0.05449443310499191,
-0.03510693833231926,
0.039277780801057816,
-0.028405219316482544,
-0.01712411642074585,
0.04384265094995499,
-0.04522759094834328,
-0.084213986992836,
-0.005568224936723709,
0.025947459042072296,
0.02898... | 0.04546 |
[[search-aggregations-metrics-percentile-rank-aggregation]] === Percentile Ranks Aggregation A `multi-value` metrics aggregation that calculates one or more percentile ranks over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, o... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/percentile-rank-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.004170637112110853,
0.039614878594875336,
-0.051963407546281815,
0.040704045444726944,
-0.04069260135293007,
-0.028390206396579742,
0.02697979472577572,
0.06275220960378647,
-0.007277269847691059,
0.008340775966644287,
-0.02893638052046299,
-0.010815780609846115,
0.10637287050485611,
-0... | -0.024726 |
(High Dynamic Range Histogram) is an alternative implementation that can be useful when calculating percentile ranks for latency measurements as it can be faster than the t-digest implementation with the trade-off of a larger memory footprint. This implementation maintains a fixed worse-case percentage error (specified... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/percentile-rank-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.00019057771714869887,
0.020745515823364258,
-0.04344222694635391,
-0.0030140504240989685,
-0.05070389062166214,
-0.048580098897218704,
-0.02520783245563507,
0.06802008301019669,
-0.00003601887874538079,
-0.03266538307070732,
-0.07146335393190384,
-0.02651108428835869,
-0.000202080351300537... | 0.095068 |
[[search-aggregations-metrics-top-hits-aggregation]] === Top Hits Aggregation A `top\_hits` metric aggregator keeps track of the most relevant document being aggregated. This aggregator is intended to be used as a sub aggregator, so that the top matching documents can be aggregated per bucket. The `top\_hits` aggregato... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/tophits-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.029318882152438164,
0.003708167467266321,
-0.007710649631917477,
0.047859299927949905,
-0.03909968212246895,
0.024878038093447685,
0.007044827565550804,
0.07721059769392014,
0.0051187146455049515,
0.021346891298890114,
-0.04014439135789871,
-0.005928708706051111,
0.07491861283779144,
-0... | 0.047294 |
feature the return the buckets by relevancy order of the most relevant document in a bucket. [source,js] -------------------------------------------------- POST /sales/\_search { "query": { "match": { "body": "elections" } }, "aggs": { "top\_sites": { "terms": { "field": "domain", "order": { "top\_hit": "desc" } }, "ag... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/tophits-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.02924398146569729,
0.05002424493432045,
0.04439135640859604,
0.01794741116464138,
0.061523351818323135,
0.005073218606412411,
-0.04079157114028931,
0.02550775744020939,
0.08052541315555573,
0.011038806289434433,
-0.08388655632734299,
0.02363051287829876,
0.020128782838582993,
-0.0290780... | -0.009348 |
have better brakes", <3> "username": "baddriver007" } } ] } } } ... ] } } } } -------------------------------------------------- // TESTRESPONSE[s/\.\.\.//] <1> Name of the array field containing the nested hit <2> Position if the nested hit in the containing array <3> Source of the nested hit If `\_source` is requeste... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/tophits-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.04224516451358795,
0.03555300086736679,
0.005536865908652544,
0.09967809915542603,
-0.006298898719251156,
-0.08783002942800522,
-0.008341068401932716,
0.014798800460994244,
0.029273051768541336,
-0.009392316453158855,
-0.0298275388777256,
-0.049199000000953674,
0.05735967308282852,
-0.0... | 0.025567 |
[[search-aggregations-metrics-min-aggregation]] === Min Aggregation A `single-value` metrics aggregation that keeps track and returns the minimum value among numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a p... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/min-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.027380766347050667,
0.10101587325334549,
0.00011282954801572487,
0.0834662988781929,
-0.0279157105833292,
0.04641188308596611,
-0.05573815852403641,
0.09633556753396988,
0.1279337853193283,
-0.04850846901535988,
-0.0720403641462326,
-0.05258377268910408,
0.013928084634244442,
0.01760369... | -0.006384 |
[[search-aggregations-metrics-cardinality-aggregation]] === Cardinality Aggregation A `single-value` metrics aggregation that calculates an approximate count of distinct values. Values can be extracted either from specific fields in the document or generated by a script. Assume you are indexing store sales and would li... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.014139852486550808,
0.04428533464670181,
-0.04981090500950813,
0.10720893740653992,
-0.0791313648223877,
0.0851413756608963,
0.06425564736127853,
0.06041013449430466,
0.1338346153497696,
-0.06994333863258362,
-0.01672418974339962,
-0.044494956731796265,
0.08209666609764099,
-0.027165059... | 0.047027 |
accurate up to the configured threshold (although not guaranteed, this is likely to be the case). Please also note that even with a threshold as low as 100, the error remains very low, even when counting millions of items. ==== Pre-computed hashes On string fields that have a high cardinality, it might be faster to sto... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/metrics/cardinality-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.07372837513685226,
-0.002340743551030755,
0.030180662870407104,
-0.019276242703199387,
-0.051071301102638245,
-0.03990468382835388,
-0.02399262599647045,
-0.019290795549750328,
0.08532486855983734,
0.002057782607153058,
-0.08269628882408142,
-0.00030262203654274344,
0.03602214530110359,
... | -0.018461 |
[[search-aggregations-pipeline-avg-bucket-aggregation]] === Avg Bucket Aggregation A sibling pipeline aggregation which calculates the (mean) average value of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation. [[avg-bucket-ag... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/avg-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03199702128767967,
0.02087792381644249,
-0.001614158507436514,
0.07260192930698395,
-0.04795323684811592,
0.0064552780240774155,
0.005096242763102055,
0.03455648198723793,
0.047586455941200256,
-0.039086971431970596,
-0.04821236804127693,
-0.10927900671958923,
0.02815183438360691,
-0.02... | -0.007829 |
[[search-aggregations-pipeline-min-bucket-aggregation]] === Min Bucket Aggregation A sibling pipeline aggregation which identifies the bucket(s) with the minimum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s). The specified metric must be numeric and the ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/min-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.02242623269557953,
0.03702174872159958,
0.013209162279963493,
0.040066707879304886,
-0.042900584638118744,
0.018875258043408394,
-0.011077665723860264,
0.03351758420467377,
0.051154669374227524,
-0.05097068473696709,
-0.04972587153315544,
-0.11748143285512924,
0.05342189595103264,
-0.01... | -0.026268 |
[[search-aggregations-pipeline-derivative-aggregation]] === Derivative Aggregation A parent pipeline aggregation which calculates the derivative of a specified metric in a parent histogram (or date\_histogram) aggregation. The specified metric must be numeric and the enclosing histogram must have `min\_doc\_count` set ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/derivative-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.00028332698275335133,
-0.010969609953463078,
0.015844207257032394,
0.029832463711500168,
-0.08298061043024063,
0.027300851419568062,
-0.00037199907819740474,
0.09140502661466599,
0.049664318561553955,
-0.032040443271398544,
-0.042552050203084946,
-0.07715709507465363,
0.050694167613983154,... | 0.034431 |
"2015/03/01 00:00:00", "key": 1425168000000, "doc\_count": 2, "sales": { "value": 375.0 }, "sales\_deriv": { "value": 315.0 }, "sales\_2nd\_deriv": { "value": 805.0 } } ] } } } -------------------------------------------------- // TESTRESPONSE[s/"took": 50/"took": $body.took/] // TESTRESPONSE[s/"\_shards": \.\.\./"\_sh... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/derivative-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.00612736027687788,
0.05128451809287071,
0.030966633930802345,
0.006886868737637997,
-0.026924962177872658,
-0.053552642464637756,
0.019078535959124565,
0.038670215755701065,
0.10761897265911102,
0.03973349556326866,
0.025855185464024544,
-0.07149417698383331,
0.06901507824659348,
-0.0466... | -0.006654 |
[[search-aggregations-pipeline-bucket-script-aggregation]] === Bucket Script Aggregation A parent pipeline aggregation which executes a script which can perform per bucket computations on specified metrics in the parent multi-bucket aggregation. The specified metric must be numeric and the script must return a numeric ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03344760462641716,
-0.035521578043699265,
0.017089396715164185,
0.04911678656935692,
-0.05741684138774872,
0.014752457849681377,
0.010628296993672848,
0.05406642705202103,
0.06530582904815674,
-0.00441684341058135,
-0.07302353531122208,
-0.09049178659915924,
0.027050059288740158,
-0.019... | -0.007917 |
[[search-aggregations-pipeline-extended-stats-bucket-aggregation]] === Extended Stats Bucket Aggregation A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-b... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/extended-stats-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.053297009319067,
0.009912515990436077,
0.01588437706232071,
0.08579737693071365,
-0.0213130172342062,
0.0062345280312001705,
-0.047844961285591125,
0.04250887781381607,
0.08787775784730911,
-0.02505330927670002,
-0.04138031601905823,
-0.05698210000991821,
0.02638421393930912,
-0.0389199... | 0.023529 |
[[search-aggregations-pipeline-max-bucket-aggregation]] === Max Bucket Aggregation A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s). The specified metric must be numeric and the ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/max-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.02225194312632084,
0.00007558362995041534,
0.0011087738675996661,
0.0006377063691616058,
-0.057063743472099304,
-0.015618626028299332,
-0.024580247700214386,
0.031076351180672646,
0.02397257648408413,
-0.03334059566259384,
-0.07221479713916779,
-0.062227487564086914,
0.040676549077034,
... | -0.010593 |
[[search-aggregations-pipeline-movavg-aggregation]] === Moving Average Aggregation Given an ordered series of data, the Moving Average aggregation will slide a window across the data and emit the average value of that window. For example, given the data `[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]`, we can calculate a simple movin... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.11824077367782593,
-0.03448761627078056,
0.04149448871612549,
0.060558125376701355,
-0.027205219492316246,
-0.05719291418790817,
-0.020560117438435555,
-0.00995323434472084,
0.07399606704711914,
-0.06176304817199707,
-0.06281323730945587,
0.021476421505212784,
0.032398562878370285,
-0.0... | 0.053806 |
// TESTRESPONSE[s/"hits": \.\.\./"hits": $body.hits/] ==== Models The `moving\_avg` aggregation includes four different moving average "models". The main difference is how the values in the window are weighted. As data-points become "older" in the window, they may be weighted differently. This will affect the final ave... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.04384949803352356,
-0.04304927587509155,
-0.017078373581171036,
0.14488188922405243,
0.047585658729076385,
-0.027491291984915733,
-0.049515560269355774,
0.04453390836715698,
0.14825351536273956,
-0.03567032888531685,
-0.0334273986518383,
0.04001720994710922,
-0.007696376647800207,
-0.08... | 0.039193 |
more closely but with less smoothing. The default value of `alpha` is `0.3`, and the setting accepts any float from 0-1 inclusive. The EWMA model can be <> [source,js] -------------------------------------------------- POST /\_search { "size": 0, "aggs": { "my\_date\_histo":{ "date\_histogram":{ "field":"date", "interv... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.005837812554091215,
0.08468439429998398,
0.005872356705367565,
0.10546079277992249,
-0.0014907526783645153,
0.022301146760582924,
-0.012307915836572647,
0.0032934597693383694,
-0.011146670207381248,
-0.003774539101868868,
-0.02448691986501217,
-0.07748118042945862,
-0.02343636006116867,
... | 0.017625 |
"bootstrap" the algorithm. This means that your `window` must always be \*at least\* twice the size of your period. An exception will be thrown if it isn't. It also means that Holt-Winters will not emit a value for the first `2 \* period` buckets; the current algorithm does not backcast. [[holt\_winters\_cold\_start]] ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.060256227850914,
-0.023343883454799652,
0.0742325633764267,
0.11061999946832657,
0.05198269337415695,
-0.05015458166599274,
-0.11533152312040329,
0.003737474326044321,
-0.04346100613474846,
-0.05442861095070839,
-0.11256033927202225,
-0.001640822971239686,
0.04580426588654518,
-0.019354... | -0.047044 |
number of predictions you would like appended to the end of the series. These predictions will be spaced out at the same interval as your buckets: [source,js] -------------------------------------------------- POST /\_search { "size": 0, "aggs": { "my\_date\_histo":{ "date\_histogram":{ "field":"date", "interval":"1M" ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.07475223392248154,
0.01796800084412098,
0.03376319259405136,
0.09740757942199707,
0.012509993277490139,
0.028188815340399742,
-0.04866191744804382,
0.0156752560287714,
0.06170868128538132,
-0.05494198203086853,
-0.08412183076143265,
-0.0567239448428154,
0.002493651583790779,
-0.04195905... | -0.038729 |
global optimum. It also requires some amount of additional computational power, since the model needs to be re-run multiple times as the values are tweaked. The run-time of minimization is linear to the size of the window being processed: excessively large windows may cause latency. Finally, minimization fits the model... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/movavg-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.045496851205825806,
-0.01955081708729267,
0.0363982729613781,
0.06657524406909943,
-0.003215181175619364,
-0.012233893387019634,
-0.1264539211988449,
0.04450766369700432,
0.11410527676343918,
-0.0007453672587871552,
-0.1283232420682907,
0.07084809988737106,
-0.06471529603004456,
0.01923... | 0.127834 |
[[search-aggregations-pipeline-sum-bucket-aggregation]] === Sum Bucket Aggregation A sibling pipeline aggregation which calculates the sum across all bucket of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation. ==== Syntax A ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/sum-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.047887299209833145,
0.02023528330028057,
-0.01735631749033928,
0.03996837139129639,
-0.04445149376988411,
0.0030176632571965456,
0.021141741424798965,
0.00628778338432312,
0.044105976819992065,
-0.03576231002807617,
-0.05427609756588936,
-0.15084508061408997,
0.03623972088098526,
-0.006... | -0.01126 |
[[search-aggregations-pipeline-percentiles-bucket-aggregation]] === Percentiles Bucket Aggregation A sibling pipeline aggregation which calculates percentiles across all bucket of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggrega... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/percentiles-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.05304421856999397,
0.04647992178797722,
-0.02132549323141575,
0.02821997180581093,
-0.048208341002464294,
-0.026744402945041656,
-0.000979976262897253,
0.04473351314663887,
0.030892018228769302,
-0.02574382908642292,
-0.042504165321588516,
-0.12131822109222412,
0.03380865603685379,
-0.0... | -0.061765 |
[[search-aggregations-pipeline-bucket-sort-aggregation]] === Bucket Sort Aggregation A parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation. Zero or more sort fields may be specified together with the corresponding sort order. Each bucket may be sorted based on its `\_key`, `\_coun... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/bucket-sort-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.038399048149585724,
0.011880679056048393,
0.06717491894960403,
0.015303906984627247,
-0.017131293192505836,
-0.016434913501143456,
-0.03775715082883835,
0.015750816091895103,
0.09243124723434448,
-0.015975847840309143,
-0.03760360926389694,
0.050851985812187195,
-0.013246064074337482,
-... | -0.003083 |
"buckets": [ { "key\_as\_string": "2015/02/01 00:00:00", "key": 1422748800000, "doc\_count": 2 } ] } } } -------------------------------------------------- // TESTRESPONSE[s/"took": 11/"took": $body.took/] // TESTRESPONSE[s/"\_shards": \.\.\./"\_shards": $body.\_shards/] // TESTRESPONSE[s/"hits": \.\.\./"hits": $body.h... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/bucket-sort-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.04720542952418327,
0.07388408482074738,
0.057574111968278885,
0.02453118935227394,
-0.024943556636571884,
-0.012317939661443233,
0.015493690967559814,
0.023457223549485207,
0.1194959506392479,
0.02233177423477173,
0.0034982729703187943,
-0.05732516571879387,
0.04136908799409866,
-0.00439... | -0.0042 |
[[search-aggregations-pipeline-cumulative-sum-aggregation]] === Cumulative Sum Aggregation A parent pipeline aggregation which calculates the cumulative sum of a specified metric in a parent histogram (or date\_histogram) aggregation. The specified metric must be numeric and the enclosing histogram must have `min\_doc\... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/cumulative-sum-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.01438720803707838,
0.022076552733778954,
0.01808137819170952,
0.040592361241579056,
-0.10085710883140564,
0.03122512251138687,
-0.01717287488281727,
0.0697212889790535,
0.056051142513751984,
-0.038291215896606445,
-0.061471253633499146,
-0.12065793573856354,
0.04758452624082565,
-0.0194... | 0.033093 |
[[search-aggregations-pipeline-stats-bucket-aggregation]] === Stats Bucket Aggregation A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/stats-bucket-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.03910398855805397,
0.03169950842857361,
-0.021424680948257446,
0.05550708994269371,
-0.02419000305235386,
0.008052574470639229,
-0.0005396001506596804,
0.02593744546175003,
0.028697140514850616,
-0.025540530681610107,
-0.030512964352965355,
-0.12479069828987122,
0.05285434052348137,
-0.... | -0.022311 |
[[search-aggregations-pipeline-serialdiff-aggregation]] === Serial Differencing Aggregation Serial differencing is a technique where values in a time series are subtracted from itself at different time lags or periods. For example, the datapoint f(x) = f(x~t~) - f(x~t-n~), where n is the period being used. A period of ... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/serial-diff-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.10817443579435349,
0.009762189351022243,
0.03034379705786705,
0.05708804726600647,
-0.02029673382639885,
-0.05804881826043129,
-0.10445372760295868,
-0.018694356083869934,
0.09264746308326721,
-0.05900540575385094,
-0.023000644519925117,
0.08199751377105713,
-0.040735721588134766,
-0.04... | 0.199228 |
one of the sibling metrics inside of the histogram (see <> for a description of the syntax for `buckets\_path`. | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/serial-diff-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
0.07105032354593277,
-0.03155696019530296,
-0.002451145090162754,
-0.05874231457710266,
-0.051005929708480835,
-0.01494416780769825,
-0.021087242290377617,
0.041070375591516495,
0.03145156428217888,
-0.036045778542757034,
0.011478401720523834,
-0.07411250472068787,
0.038418009877204895,
-0... | 0.107815 |
[[search-aggregations-pipeline-bucket-selector-aggregation]] === Bucket Selector Aggregation A parent pipeline aggregation which executes a script which determines whether the current bucket will be retained in the parent multi-bucket aggregation. The specified metric must be numeric and the script must return a boolea... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.05540256202220917,
0.04190261662006378,
0.049631308764219284,
0.07285986840724945,
-0.000020596773538272828,
-0.014561394229531288,
-0.0007720389985479414,
-0.01971263438463211,
0.0995764434337616,
-0.042163461446762085,
-0.06983568519353867,
-0.08430808782577515,
-0.012849757447838783,
... | -0.018879 |
[[search-aggregations-bucket-significanttext-aggregation]] === Significant Text Aggregation experimental[] An aggregation that returns interesting or unusual occurrences of free-text terms in a set. It is like the <> aggregation but differs in that: \* It is specifically designed for use on type `text` fields \* It doe... | https://github.com/elastic/elasticsearch/blob/6.2//docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc | 6.2 | elasticsearch-6-2 | [
-0.01621931418776512,
0.07259844243526459,
0.04797518998384476,
0.05899600684642792,
0.031103065237402916,
0.012585312128067017,
0.04524210840463638,
0.06152909994125366,
0.07707871496677399,
-0.0038284678012132645,
-0.014457343146204948,
0.036509089171886444,
0.061727117747068405,
-0.0551... | 0.113127 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.