# 通過查詢 API 更新
_update_by_query?最簡單的用法只是基于索引來執行每個文檔的更新,而不更改源。這是非常有用快捷的,在完成一些 ?map 的變化也得以表現。這里是 API:
```
POST twitter/_update_by_query?conflicts=proceed
```
返回值類似于這樣:
```
{
"took" : 147,
"timed_out": false,
"updated": 120,
"deleted": 0,
"batches": 1,
"version_conflicts": 0,
"noops": 0,
"retries": {
"bulk": 0,
"search": 0
},
"throttled_millis": 0,
"requests_per_second": -1.0,
"throttled_until_millis": 0,
"total": 120,
"failures" : [ ]
}
```
`_update_by_query?`獲取索引的快照,當它開始和進行索引時發現使用的是?`internal?`的版本。這意味著如果在獲取快照時或者進行索引請求時文檔發生改變,那么將會發生版本沖突。當索引請求被處理的時間之間變化。當版本匹配文檔被更新時候,版本號遞增。
注意:因為?`internal?`版本不支持的值 0 作為一個有效的版本號,與版本等于 0 時候,文檔無法使用?_update_by_query?更新,請求將會失敗。
所有的更新和查詢失敗導致?`_update_by_query?`中止,并在返回錯誤的響應。正在執行的更新將會繼續下去。換句話說,該方法不支持回滾,僅中止。雖然第一次失敗將導致中止,由失敗的請求返回所有故障將在?`failures?`元素體現。因此,有可能存在一些失敗的實體。
如果你想簡單地統計版本沖突不會導致?`_update_by_query`?中止你可以在 URL 中設置?`conflicts=proceed?`或在請求中設置?`"conflicts": "proceed"`?。第一個例子做到這一點因為它只是試圖獲取一個當前的 mapping 變化,這里發生的版本沖突僅僅意味著沖突的文檔在?`_update_by_query`?開始的時間和文件嘗試更新時間之間被更新了。這樣做具有一定的優點,因為更新將獲取當前 mapping 更新。
回到API格式,您可以限制?`_update_by_query?`到一個單一類型。這將只從?`twitter?`索引中更新?`tweet 文件`:
```
POST twitter/tweet/_update_by_query?conflicts=proceed
```
您也可以限制?`_update_by_query?`使用?。這將更新從?`twitter 索引中更新所有的文檔`:
```
POST twitter/_update_by_query?conflicts=proceed
{
"query": { (1)
"term": {
"user": "kimchy"
}
}
}
```
(1)查詢必須作為一個值傳遞?`query?`鍵,就像在 Search API 中同樣的方式。還可以使用的?`q`?參數。、
到目前為止,我們只是一直在更新文檔,而無需更改其來源。`_update_by_query?`支持腳本對象更新文檔。這將在所有 kimchy tweet 中增加?`likes` :
```
POST twitter/_update_by_query
{
"script": {
"inline": "ctx._source.likes++",
"lang": "painless"
},
"query": {
"term": {
"user": "kimchy"
}
}
}
```
正如在 Update API 中可以設置?`ctx.op?`來改變所執行的操作:
noop? ? ? ?
? ? ? ? 設置 ctx.op = "noop" 。如果你的腳本并沒有做任何更改。這將導致 _update_by_query 從其更新處省略該文件。這將在響應的 noop 中被展示。
delete? ? ? ?
? ? ? ? 設置ctx.op = "delete",如果你的腳本如此設定,該文件必須被刪除。這將在響應的 deleted 中被展示。
設置?`ctx.op?`到別的地方是錯誤的。設置任何其它領域中?`ctx 也`是錯誤的。
注意,當我們指定?`conflicts=proceed 時,`我們希望版本沖突中的一個中止進程,以至于我們可以處理失敗。
此 API 不允許移動文件本身,只需修改其源。這是有意而為之,我們并沒有獲得從其原始位置刪除該文件的權限。
通過多索引也可以完成所有的事情,就像搜索API:
```
POST twitter,blog/tweet,post/_update_by_query
```
如果提供?`routing ,`則將被復制到滾動查詢,限制到分片的進程來匹配?`routing 值`:
```
POST twitter/_update_by_query?routing=1
```
在默認情況下?`_update_by_query?`使用 1000 批次的回滾。可以更改與批量大小的?`scroll_size URL`參數:
```
POST twitter/_update_by_query?scroll_size=100
```
`_update_by_query?`也可以使用 Ingest Node 的特點,通過指定一個?`pipeline`:
```
PUT _ingest/pipeline/set-foo
{
"description" : "sets foo",
"processors" : [ {
"set" : {
"field": "foo",
"value": "bar"
}
} ]
}
POST twitter/_update_by_query?pipeline=set-foo
```
## URL 參數
除了標準的參數,如?`pretty`,通過查詢 API 還支持?`refresh`,`wait_for_completion`,`wait_for_active_shards?`和?`timeout`。
當請求完成時,發送?`refresh?`將更新索引中的所有分片。這與索引 API 的?`refresh`?參數不同,這會使得僅僅分片獲取到最新的數據來作為索引。
如果請求包含?`wait_for_completion=false 那么?`Elasticsearch 將執行一些預檢,啟動請求,然后返回一個?`task`?可與用于任務的 API 取消或獲取任務的狀態。Elasticsearch 還將創建此任務的記錄,在文檔?`.tasks/task/${taskId}中`。可以保留或刪除認為合適的。當你進行刪除時候,Elasticsearch 可以收回其使用的空間。
`wait_for_active_shards 控制著在請求時一個分片有多少個副本需要時活躍的`。`timeout?`控制每個寫請求的等待時間從不可用到可用。這兩個同時運行就像在 Bulk API 中一樣。
`requests_per_second?`可以被設置為任何正十進制數(`1.4,``6`,?`1000`等)并且禁用每秒字節流,或者它可以被設置為-1 來禁用字節流。禁用之后的等待時間,可以控制回滾延遲。等待時間不用于批處理完成時間和?`requests_per_second * requests_in_the_batch 的時間。由于該批次并沒有分成多個批量傳輸的塊,大的數據塊將會導致?Elasticsearch 創建更多的請求導致較長時間的等待。這是突發的,不是平穩的。默認值為 -1。`
## 響應
Json 響應如下:
```
{
"took" : 639,
"updated": 0,
"batches": 1,
"version_conflicts": 2,
"retries": {
"bulk": 0,
"search": 0
}
"throttled_millis": 0,
"failures" : [ ]
}
```
took
? ? ? ??從開始的毫秒數來結束整個操作過程。
updated
? ? ? ? 已成功更新的文件數量。
batches
? ? ? ??通過查詢請求返回響應的數目。
version_conflicts
? ? ? ? 版本沖突的次數。
retries
? ? ? ? 更新請求重試次數。bulk 是 buck action 重試的次數,search 是 search action 重試的次數。
throttled_millis
? ? ? ??符合?`requests_per_second 的毫秒數。`
failures
? ? ? ? 所有索引失敗的集合。如果是非空的那么因為這些失敗請求失效。請參閱?`conflicts?`如何防止從版本沖突中停止運行。
## Works With the Task API
你可以通過 Task API 獲取所有正在運行的更新請求狀態:
```
GET _tasks?detailed=true&actions=*byquery
```
響應如下:
```
{
"nodes" : {
"r1A2WoRbTwKZ516z6NEs5A" : {
"name" : "r1A2WoR",
"transport_address" : "127.0.0.1:9300",
"host" : "127.0.0.1",
"ip" : "127.0.0.1:9300",
"attributes" : {
"testattr" : "test",
"portsfile" : "true"
},
"tasks" : {
"r1A2WoRbTwKZ516z6NEs5A:36619" : {
"node" : "r1A2WoRbTwKZ516z6NEs5A",
"id" : 36619,
"type" : "transport",
"action" : "indices:data/write/update/byquery",
"status" : {(1)
"total" : 6154,
"updated" : 3500,
"created" : 0,
"deleted" : 0,
"batches" : 4,
"version_conflicts" : 0,
"noops" : 0,
"retries": {
"bulk": 0,
"search": 0
}
"throttled_millis": 0
},
"description" : ""
}
}
}
}
}
```
(1)這個對象的實際狀態。它就像響應中 json?用做 ?`total 的`重要補充。`total?`是操作任務的總數重新索引預計執行。您可以添加?`updated`,`created?`以及?`deleted 等多個`域。當它們之和等于?`total?`字段值時該請求將完成。
通過 task id 可以直接獲得 task:
```
GET /_tasks/taskId:1
```
此 API 的優點是,它具有集成?`wait_for_completion=false`?到返回完成任務的狀態。如果任務完成,并?`wait_for_completion=false?`設置,將會返回?`results?`或?`error?`。此功能的成本,該文件?`wait_for_completion=false`創建的`.tasks/task/${taskId}`。它是由你來刪除該文檔。
## Works With the Cancel Task API
通過 Task Cancle API 可以取消任何通過請求的更新:
```
POST _tasks / TASK_ID:1 / _cancel
```
利用上述 task API 可以獲取到 task id。
取消任務很快就會執行,通常需要幾秒鐘。上述的任務狀態 API 將任務以列表形式展示直到它被取消。
## Rethrottling
`requests_per_second 的值`可以在運行更新中可以通過使用?`_rethrottle?`的 API 來改變:
```
POST _update_by_query/task_id:1/_rethrottle?requests_per_second=-1
```
利用上述 task API 可以獲取到 task id。
在設置上,它就像?`_update_by_query?`API 一樣,`requests_per_second`?可以設置成?`-1 來`禁用字節流和非整數。Rethrottling 是加快查詢需要,但是會減慢查詢在完成當前批后立即生效的效果,這可以防止回滾超時。
## Manually slicing
通過請求的更新支持分片回滾,允許更加簡單的手動多線程操作:
```
POST twitter/_update_by_query
{
"slice": {
"id": 0,
"max": 2
},
"script": {
"inline": "ctx._source['extra'] = 'test'"
}
}
POST twitter/_update_by_query
{
"slice": {
"id": 1,
"max": 2
},
"script": {
"inline": "ctx._source['extra'] = 'test'"
}
}
```
你可以通過如下來驗證任務:
```
GET _refresh
POST twitter/_search?size=0&q=extra:test&filter_path=hits.total
```
結果 total 如下:
```
{
"hits": {
"total": 120
}
}
```
## 一個新的屬性
假設你沒有創建動態映射索引,那么用數據填充它,然后添加一個映射值獲取數據字段:
```
{PUT test
{
"mappings": {
"test": {
"dynamic": false,(1)
"properties": {
"text": {"type": "text"}
}
}
}
}
POST test/test?refresh
{
"text": "words words",
"flag": "bar"
}
POST test/test?refresh
{
"text": "words words",
"flag": "foo"
}
PUT test/_mapping/test(2)
{
"properties": {
"text": {"type": "text"},
"flag": {"type": "text", "analyzer": "keyword"}
}
}
```
(1)這意味著,新的字段將不會被索引,只是存儲?`_source`。
(2)這將更新映射并添加新的?`flag?`。添加了新的字段,你必須針對其重新索引。
搜索數據將不會得到任何結果:
```
POST test/_search?filter_path=hits.total
{
"query": {
"match": {
"flag": "foo"
}
}
}
```
```
{
"hits" : {
"total" : 0
}
}
```
但是你可以發出一個?`_update_by_query?`請求,獲取新的映射:
```
POST test/_update_by_query?refresh&conflicts=proceed
POST test/_search?filter_path=hits.total
{
"query": {
"match": {
"flag": "foo"
}
}
}
```
```
{
"hits" : {
"total" : 1
}
}
```
添加一個字段或者添加到多字段時,可以做同樣的事情。
- Getting Started(入門指南)
- Basic Concepts(基礎概念)
- Installation(安裝)
- Exploring Your Cluster(探索集群)
- Cluster Health(集群健康)
- List All Indices(列出所有索引)
- Create an Index(創建索引)
- Index and Query a Document(索引和查詢文檔)
- Delete an Index(刪除索引)
- Modifying Your Data(修改數據)
- Updating Documents(更新文檔)
- Deleting Documents(刪除文檔)
- Batch Processing(批處理)
- Exploring Your Data(探索數據)
- The Search API(搜索 API)
- Introducing the Query Language(介紹查詢語言)
- Executing Searches(執行查詢)
- Executing Filters(執行過濾)
- Executing Aggregations(執行聚合)
- Conclusion(總結)
- Setup Elasticsearch(設置)
- Installing Elasticsearch(安裝)
- zip 或 tar.gz 安裝
- Debian軟件包安裝Elasticsearch
- 用RPM安裝Elasticsearch
- Windows 環境下安裝ES
- Docker 方式安裝
- 配置Elasticsearch
- 重要Elasticsearch配置
- 安全配置
- 啟動前檢查
- 堆大小檢查
- 文件描述符檢查
- 內存鎖定檢查
- 最大線程數檢查
- 最大虛擬內存檢查
- 最大map數檢查
- JVM Client模式檢查
- 串行收集使用檢查
- 系統調用過濾檢查
- OnError與OnOutOfMemoryError檢查
- G1GC檢查
- 重要的系統配置
- 系統設置
- 在jvm.options中設置JVM堆大小
- 禁用swapping
- 文件描述符
- 虛擬內存
- 線程數
- 升級Elasticsearch
- Elasticsearch停機
- 重大改變
- 在5.3 重大改變
- 在5.2 重大改變
- Shadow Replicas已被棄用
- 在5.1 重大改變
- 在5.0 重大改變
- 搜索和查詢DSL改變
- 映射改變
- 過濾器改變
- Suggester變化
- 索引API改變
- 文檔API改變
- 設置的改變
- 分配改變
- HTTP改變
- REST API改變
- CAT API改變
- Java API改變
- Packaging
- Plugin改變
- 文件系統相關改變
- 磁盤上數據的路徑
- 聚合改變
- 腳本相關改變
- API 規范
- Multiple Indices(多個索引)
- Date math support in index names(索引名稱對 Date 和 Math 的支持)
- 常見選項
- URL-based access control(基于 URL 的訪問控制)
- Document APIS
- Index API
- Get API
- Update API
- 通過查詢 API 更新
- 多個 GET API
- Bulk API
- Reading and Writing documents(讀寫文檔)
- Delete API
- Delete By Query API
- Reindex API
- Term Vectors
- Multi termvectors API
- ?refresh
- Search APIs
- Search
- URI Search
- Request Body Search
- Query
- From / Size
- Sort
- Source filtering
- Fields
- Script Fields
- Doc value Fields
- Post filter
- Highlighting
- Rescoring
- Search Type
- Scroll
- Preference
- Explain
- Version
- Index Boost
- min_score
- Named Queries
- Inner hits
- Search After
- Field Collapsing 字段折疊
- Search 模板
- Multi Search 模板
- Search Shards API
- Suggesters
- Completion Suggester
- Context Suggester
- Phrase Suggester
- Term suggester
- Multi Search API
- Count API
- Validate API
- Explain API
- Profile API
- Profiling Queries
- Profiling Aggregations
- Profiling Considerations
- Aggregations
- Metric Aggregations
- 值計數聚合(Value Count Aggregation)
- 地理邊界聚合
- 地理重心聚合
- 基數聚合
- 平均值聚合
- 擴展統計聚合
- 最大值聚合
- 最小值聚合
- Bucket Aggregations
- Children Aggregation
- Date Histogram Aggregation
- Date Range Aggregation
- Diversified Sampler Aggregation
- Filter Aggregation(過濾器聚合)
- Filters Aggregation
- Geo Distance Aggregation(地理距離聚合)
- GeoHash grid Aggregation(GeoHash網格聚合)
- Global Aggregation(全局聚合)
- Histogram Aggregation
- IP Range Aggregation(IP范圍聚合)
- Missing Aggregation
- Nested Aggregation(嵌套聚合)
- Range Aggregation(范圍聚合)
- Reverse nested Aggregation
- Sampler Aggregation
- Significant Terms Aggregation
- 鄰接矩陣聚合
- Pipeline Aggregations
- Avg Bucket Aggregation
- Derivative Aggregation(導數聚合)
- Max Bucket Aggregation
- Min Bucket Aggregation
- Sum Bucket Aggregation
- Stats Bucket Aggregation
- Extended Stats Bucket Aggregation(擴展信息桶聚合)
- Percentiles Bucket Aggregation(百分數桶聚合)
- Cumulative Sum Aggregation(累積匯總聚合)
- Bucket Script Aggregation(桶腳本聚合)
- Bucket Selector Aggregation(桶選擇器聚合)
- Serial Differencing Aggregation(串行差異聚合)
- Matrix Aggregations
- Matrix Stats
- Matrix Stats(矩陣統計)
- Caching heavy aggregations(緩存頻繁聚合)
- Returning only aggregation results(僅返回需要聚合的結果)
- Aggregation Metadata(聚合元數據)
- Returning the type of the aggregation(返回聚合的類型)
- 索引 API
- Create Index /創建索引
- Delete Index /刪除索引
- Get Index /獲取索引
- Indices Exists /索引存在
- Open / Close Index API /啟動關閉索引
- Shrink Index /縮小索引
- Rollover Index/滾動索引
- Put Mapping /提交映射
- Get Mapping /獲取映射
- Get Field Mapping /獲取字段映射
- 卷影副本索引
- 依賴卷影副本的節點級設置
- 索引統計信息
- 索引段
- 索引恢復
- 索引分片存儲
- 清理緩存
- 刷新
- 同步刷新
- 重新加載
- 強制合并
- cat APIs
- cat aliases
- cat allocation
- cat count
- cat fielddata
- cat health
- cat indices
- cat master
- cat nodeattrs
- cat nodes
- cat pending tasks
- cat plugins
- cat recovery
- cat repositories
- cat thread pool
- cat shards
- cat segments
- cat snapshots
- 集群 API
- Cluster Allocation Explain API
- Cluster Health
- Cluster Reroute
- Cluster State
- Cluster Stats
- Cluster Update Settings
- Nodes hot_threads
- Nodes Info
- Nodes Stats
- Pending cluster tasks
- Task Management API
- 查詢 DSL
- 查詢和過濾上下文
- Match ALL 查詢
- 全文搜索
- 匹配查詢
- 短語匹配查詢
- 短語前綴匹配查詢
- 多字段查詢
- 常用術語查詢
- 查詢語句查詢
- 簡單查詢語句
- 復合查詢家族
- Constant Score 查詢
- Bool 查詢
- Dis Max 查詢
- Function Score 查詢
- Boosting 查詢
- Indices 查詢
- Join 查詢
- Has Child Query
- Has Parent Query
- Nested Query(嵌套查詢)
- Parent Id Query
- 術語查詢
- Exists Query(非空值查詢)
- Fuzzy Query(模糊查詢)
- Ids Query(ID 查詢)
- Prefix Query(前綴查詢)
- Range Query(范圍查詢)
- Regexp Query(正則表達式查詢)
- Term Query(項查詢)
- Terms Query(多項查詢)
- Type Query(類型查詢)
- Wildcard Query(通配符查詢)
- 地理位置查詢
- GeoShape Query(地理形狀查詢)
- Geo Bounding Box Query(地理邊框查詢)
- Geo Distance Query(地理距離查詢)
- Geo Distance Range Query(地理距離范圍查詢)
- Geo Polygon Query(地理多邊形查詢)
- Span 查詢
- Span Term 查詢
- Span Multi Term 查詢
- Span First 查詢
- Span Near 查詢
- Span Or 查詢
- Span Not 查詢
- Span Containing 查詢
- Span Within 查詢
- Span Field Masking 查詢
- Specialized queries(專業查詢)
- Mapping(映射)
- 字段類型
- Array
- Binary
- Range
- Boolean
- Date
- Geo-point datatype
- String
- Text
- Token數
- 滲濾型
- KeyWord
- Nested
- Object
- Numeric
- Meta-Fields(元字段)
- _all field
- _field_names field
- _id field
- _index field
- _meta field
- _parent field
- _routing field
- _source field
- _type field
- _uid field
- Mapping parameters(映射參數)
- analyzer(分析器)
- normalizer(歸一化)
- boost(提升)
- Coerce(強制類型轉換)
- copy_to(合并參數)
- doc_values(文檔值)
- dynamic(動態設置)
- enabled(開啟字段)
- fielddata(字段數據)
- format (日期格式)
- ignore_above(忽略超越限制的字段)
- ignore_malformed(忽略格式不對的數據)
- include_in_all(_all 查詢包含字段)
- index_options(索引設置)
- index (索引)
- fields(字段)
- Norms (標準信息)
- null_value(空值)
- position_increment_gap(短語位置間隙)
- properties (屬性)
- search_analyzer (搜索分析器)
- similarity (匹配方法)
- store(存儲)
- Term_vectors(詞根信息)
- Dynamic Mapping(動態映射)
- default mapping(mapping中的_default_)
- Dynamic field mapping(動態字段映射)
- Dynamic templates(動態模板)
- Override default template(覆蓋默認模板)
- Mapping(映射)
- Analysis
- Tokenizers(分詞器)
- Standard Tokenizer(標準分詞器)
- Letter Tokenizer
- Lowercase Tokenizer (小寫分詞器)
- Whitespace Analyzer
- 停止分析器
- UAX URL Email Tokenizer
- Classic Tokenizer
- Thai Tokenizer(泰語分詞器)
- NGram Tokenizer
- Keyword Analyzer
- Path Hierarchy Tokenizer(路徑層次分詞器)
- Pattern Tokenizer
- Token Filters(詞元過濾器)
- Apostrophe Token Filter(撇號/單引號過濾器)
- ASCII Folding Token Filter(ASCII Folding 詞元過濾器)
- CJK Bigram Token Filter(CJK Bigram詞元過濾器)
- CJK Width Token Filter(CJK寬度過濾器)
- Classic Token Filter(經典過濾器)
- Common Grams Token Filter(近義詞詞元過濾器)
- Compound Word Token Filter(復合詞過濾器)
- Decimal Digit Token Filter(十進制數字過濾器)
- Delimited Payload Token Filter(Delimited Payload詞元分析器)
- Edge NGram Token Filter(Edge NGram 詞元過濾器)
- Elision Token Filter(Elision詞元過濾器)
- Fingerprint Token Filter(指紋過濾器)
- Flatten Graph Token Filter(Flatten Graph 詞元過濾器)
- Hunspell Token Filter(Hunspell 詞元過濾器)
- Keep Types Token Filter(保留指定類型過濾器)
- Keep Words Token Filter(保留字過濾器)
- Keyword Marker Token Filter(Keyword Marker 詞元過濾器)
- Keyword Repeat Token Filter(Keyword Repeat 詞元過濾器)
- KStem Token Filter(KStem 詞元過濾器)
- Length Token Filter(長度詞元過濾器)
- Limit Token Count Token Filter(限制詞元數量過濾器)
- Lowercase Token Filter(Lowercase 詞元過濾器)
- Minhash Token Filter(Minhash過濾器)
- NGram Token Filter(NGram詞元過濾器)
- Normalization Token Filter(標準化詞元過濾器)
- Pattern Capture Token Filter(模式匹配詞元過濾器)
- Pattern Replace Token Filter(模式替換詞元過濾器)
- Phonetic Token Filter(Phonetic 詞元過濾器)
- Porter Stem Token Filter(Porter Stem 詞元過濾器)
- Reverse Token Filteredit(反向詞元過濾器)
- Shingle Token Filter(Shingle 詞元過濾器)
- Snowball Token Filter(Snowball 詞元過濾器)
- Standard Token Filters(標準詞元過濾器)
- Stemmer Override Token Filter(Stemmer Override 詞元過濾器)
- Stemmer Token Filter(Stemmer 詞元過濾器)
- Stop Token Filter(Stop 詞元過濾器)
- Synonym Graph Token Filter(Synonym Graph 詞元過濾器)
- Synonym Token Filter(Synonym 詞元過濾器)
- Trim Token Filter(Trim詞元過濾器)
- Truncate Token Filter(截斷詞元過濾器)
- Unique Token Filter(唯一詞元過濾器)
- Uppercase Token Filter(Uppercase詞元過濾器)
- Word Delimiter Token Filter(Word Delimiter 詞元過濾器)
- Character Filters(字符過濾器)
- md Strip Character Filter
- Mapping Character Filter
- Pattern Replace Character Filter
- Anatomy of an analyzer(分析器的分析)
- Testing analyzers(測試分析器)
- Analyzers(分析器)
- Configuring built-in analyzers(配置內置分析器)
- Standard Analyzer(標準分析器)
- Simple Analyzer(簡單分析器)
- 空白分析器
- Stop Analyzer
- 指紋分析器
- 模式分析器
- 自定義分析器
- 語言分析器
- 模塊
- Indices(索引)
- Circuit breakers(熔斷器)
- Fielddata cache(列數據緩存)
- indexing buffer(索引寫入緩沖)
- indices Recovery(索引恢復)
- NetWork Setting(網絡配置)
- Node Query Cache(節點查詢緩存)
- Shard request cache(分片請求緩存)
- 腳本
- Groovy 腳本語言
- Painless 腳本語言
- Painless 語法
- Painless 調試
- Lucene表達式語言
- 原生(Java)腳本
- 高級文本評分腳本
- 快照和還原
- 線程池
- 傳輸
- HTTP
- Tribe Node (部落節點)
- 跨集群搜索
- Cluster(集群)
- Disk-based Shard Allocation ( 基于磁盤的分片分配 )
- Shard Allocation Awareness ( 分片分配意識 )
- 群集級別分片分配
- Node
- 插件
- Index Modules(索引模塊)
- Analysis(分析)
- 索引分片分配
- 分片分配過濾
- 節點丟失時的延遲分配
- 索引恢復的優先級
- 每個節點的總分片數
- Mapper(映射)
- Merge(合并)
- Similarity module(相似模塊)
- Slow log(慢日志)
- Store
- 預加載數據到文件系統緩存
- Translog(事務日志)
- Ingest Node(預處理節點)
- Pipeline Definition(管道定義)
- Ingest APIs
- Put Pipeline API
- Get Pipeline API
- Delete Pipeline API
- Simulate Pipeline API(模擬管道 API)
- Accessing Data in Pipelines(訪問管道中的數據)
- Handling Failures in Pipelines(處理管道中的故障)
- Processors(處理器)
- Append Processor(追加處理器)
- Convert Processor(轉換處理器)
- Date Processor(日期處理器)
- Date Index Name Processor(日期索引名稱處理器)
- Fail Processor(故障處理器)
- Foreach Processor(循環處理器)
- Grok Processor(Grok 處理器)
- Gsub Processor(Gsub 處理器)
- Join Processor(連接處理器)
- JSON Processor(JSON 處理器)
- KV Processor(KV 處理器)
- Lowercase Processor(小寫處理器)
- Remove Processor(刪除處理器)
- Rename Processor(重命名處理器)
- Script Processor(腳本處理器)
- Set Processor(設置處理器)
- Split Processor(拆分處理器)
- Sort Processor(排序處理器)
- Trim Processor(修剪處理器)
- Uppercase Processor(大寫處理器)
- Dot Expander Processor(點擴展器處理器)
- How to(操作方式)
- 一些建議
- Recipes(訣竅)
- 索引速率調優
- 查詢優化
- 磁盤使用調優
- Testing(測試)
- Java Testing Framework(測試框架)
- ( why randomized testing ) 為什么隨機測試?
- Using the elasticsearch test classes ( 使用 elasticsearch 測試類 )
- unit tests(單元測試)
- integreation test(集成測試)
- Randomized testing(隨機測試)
- Assertions()
- Glossary of terms (詞匯表)
- Release Notes(版本說明)
- 5.3.0 版本說明
- 5.2.2 Release Notes
- 5.2.1 Release Notes
- 5.2.0 Release Notes
- 5.1.2 Release Notes
- 5.1.1 Release Notes
- 5.1.0 Release Notes
- 5.0.1 Release Notes