# Index API
原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html)
譯文鏈接 : [http://www.apache.wiki/display/Elasticsearch/Index+API](http://www.apache.wiki/display/Elasticsearch/Index+API)
貢獻者 : [小瑤](/display/~chenyao),[ApacheCN](/display/~apachecn),[Apache中文網](/display/~apachechina)
索引 **API** 在特定索引中 **add** ( 添加?) 或 **update?**( 更新?) **a typed JSON document** ( 類型化的?**JSON**?文檔?),使其可搜索。以下示例將 **JSON** 文檔插入到 **“twitter”** 索引中,**ID** 為**1** :
```
curl -XPUT 'localhost:9200/twitter/tweet/1?pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
上邊的索引操作結果為:
```
{
"_shards" : {
"total" : 2,
"failed" : 0,
"successful" : 2
},
"_index" : "twitter",
"_type" : "tweet",
"_id" : "1",
"_version" : 1,
"created" : true,
"result" : created
}
```
**_shards header** 提供有關索引操作的復制過程的信息。
* **total** - 指示應對多少 **shard copies?**( 分片副本?)( **primary** ( 主?)分片和 **replica** ( 副本?) 分片)執行索引操作。
* **successful** - 表示索引操作成功的分片副本的數量。
* **failed** - 在索引操作在副本碎片上失敗的情況下包含與復制相關的錯誤的數組。
在 **successful** 至少為 **1** 的情況下索引操作成功。
注意
當索引操作 **successful** 返回時,可能不會全部啟動副本碎片(默認情況下,只需要主索引,但可以更改此行為)。在這種情況下, **total** 將等于基于 **number_of_replicas** 設置的總分片,并且 **successful** 將等于已啟動的分片數(主副本和副本)。如果沒有失敗, **failed** 將是 0 。
## automatic index creation ( 自動創建索引 )
如果索引操作尚未創建,則索引操作自動創建索引(**check out** 用于手動創建索引的?**[create index API](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html)**),并且如果尚未創建,則自動為特定類型創建 **dynamic type mapping**( 動態類型映射?)(**check out?[put mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html)?API** 用于手動創建類型映射)。
**mapping** ( 映射?) 本身非常靈活,并且是 **schema-free**?( 無模式的?)。**New fields** ( 新字段?) 和 **objects**?( 對象?)將自動添加到指定類型的映射定義。查看[映射部分](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)以獲取有關映射定義的更多信息。
可以通過在所有節點的配置文件中將?**action.auto_create_index** 設置為 **false** 來禁用 自動創建索引。可以通過將?**index.mapper.dynamic** 設置為 **false** 為每個索引作為索引設置來禁用自動映射創建。
自動索引創建可以包括 **?a pattern based white/black list** ( 基于模式的 白/黑 列表?),例如,設置
**action.auto_create_index?to?+aaa*,-bbb*,+ccc*,-* ?**( **+** 表示 允許,**-** 表示不允許)。
## Versioning ( 版本控制 )
每個索引文檔都有一個版本號。相關的版本號作為對索引 **API** 請求的響應的一部分返回。索引 **API** 可選地允許在指定 **version** 參數時進行 **optimistic concurrency control** ( 樂觀并發控制?)。這將控制要對其執行操作的文檔的版本。一個用于版本控制的用例的好例子是 **performing a** **transactional read-then-update** ( 執行事務讀取然后更新?) 。從初始讀取的文檔指定版本可以確保在此期間沒有發生更改(當為了更新而讀取時,建議將 **preference** ( 偏好?) 設置為 **_primary**)。例如:
```
curl -XPUT 'localhost:9200/twitter/tweet/1?version=2&pretty' -H 'Content-Type: application/json' -d'
{
"message" : "elasticsearch now has versioning support, double cool!"
}
'
```
注意:
版本控制是完全實時的,并且不受搜索操作的 **near real time**( 近實時?) 方面的影響。如果沒有提供版本,則在沒有任何版本檢查的情況下執行操作。
默認情況下,使用從 **1** 開始的內部版本控制,每個 **update** ( 更新?),包括 **deletes** ( 刪除?)。可選地,版本號可以用外部值(例如,如果在數據庫中維護)來補充。要啟用此功能,?**version_type** 應該設置為?**external** 。提供的值必須是大于或者等于 **0** 且小于大約 **9.2e+18** 的數字長值。當使用 **external version type** ( 外部版本類型?) 時,系統檢查傳遞給索引請求的版本號是否大于當前存儲的文檔的版本,而不是檢查匹配的版本號。如果為 **true** ,則文檔將被索引并使用新的版本號。如果提供的值小于或等于存儲的文檔的版本號,則會出現版本沖突,并且索引操作將失敗。
警告
外部版本支持 值 **0** 作為有效的版本號。這允許版本與外部版本系統同步,其中版本號從零開始而不是從 **1** 開始。它的副作用是,版本號等于 **0** 的文檔既不能使用 **[Update-By-Query API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html)**?更新,也不能使用 **[Delete By Query API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html)** 刪除,只要他們的版本號等于 0 。
一個好的作用是,不需要維護作為對源數據庫的改變的結果執行的異步索引操作的嚴格排序,只要使用來自源數據庫的版本號。即使使用外部版本控制也可以簡化使用數據庫中的數據更新彈性搜索索引的簡單情況,因為如果索引操作因為某種原因而出現故障,將只使用最新版本。
### Version types ( 版本類型 )?
在上邊解釋的 **internal ?**( 內部?)?和 **external** ( 外部?)?版本類型旁邊,**Elasticsearch** 還支持特定用例的其他類型。這里是不同版本類型及其語義的概述。
**internal**
僅在給定版本與存儲的文檔的版本相同時索引文檔。
**external?或?external_gt**
如果給定版本嚴格高于存儲的文檔的版本或如果沒有現有文檔,則僅索引文檔。給定版本將用作新版本,并與新文檔一起存儲。提供的版本必須是 **non-negative long number** ( 非負長數字?) 。
**external_gte?**
如果給定版本 等于 或者 高于 存儲的文檔的版本,則僅索引文檔。如果沒有現有文檔,操作也將成功。給定版本將用作新版本,并與新文檔一起存儲。提供的版本必須是 **non-negative long number** ( 非負長數字?)。
注意:
**?external_gte** 版本類型適用于特殊用例,應謹慎使用。如果使用不正確,可能會導致數據丟失。還有一個選項,**force** ,它也被棄用,因為它可能導致主分片和副本分片。
## Operation type ( 操作類型 )
索引操作還接受可用于強制創建操作的 **op_type**,允許 **"put-if-absent"** 行為。使用 **create** 時,如果索引中已存在該標識的文檔,索引操作將失敗。
下面是使用 **op_type** 參數的示例:
```
curl -XPUT 'localhost:9200/twitter/tweet/1?op_type=create&pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
指定 **create** 的另一個選項是使用以下 **uri** :
```
curl -XPUT 'localhost:9200/twitter/tweet/1/_create?pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
## automatic ID generation ( 自動 ID 生成 )
可以在不指定 **ID** 的情況下執行索引操作。在這種情況下,將自動生成 **id** 。此外,**op_type** 將自動設置為 **create** 。這里是一個例子(注意 **POST** 使用,而不是 **PUT**):
```
curl -XPOST 'localhost:9200/twitter/tweet/?pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
上述索引操作的結果是:
```
{
"_shards" : {
"total" : 2,
"failed" : 0,
"successful" : 2
},
"_index" : "twitter",
"_type" : "tweet",
"_id" : "6a8ca01c-7896-48e9-81cc-9f70661fcb32",
"_version" : 1,
"created" : true,
"result": "created"
}
```
## Routing ( 路由信息 )
默認情況下,分片 **placement ?**( 展示位置?)——或 **routing** ( 路由?) ——通過使用文檔的 **id** 值的哈希值來控制。對于更明確的控制,饋送到由路由使用的散列函數的值可以使用路由參數基于每個操作直接指定。例如:
```
curl -XPOST 'localhost:9200/twitter/tweet?routing=kimchy&pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
在上面的示例中,**"tweet"** 文檔根據提供的 **routing parameter** ( 路由參數?)?發送到 **shard ( 分片?) :"kimchy"** 。
設置 **up explicit mapping**( 顯式映射?) 時,可以選擇使用 **_routing** 字段來指示索引操作從文檔本身提取路由值。這是在額外的文檔解析通過的(非常小)成本。如果定義 **_routing** 映射并將其設置為必需,則如果未提供或提取路由值,則索引操作將失敗。
## Parnets & Children?
通過在索引時指定其父級,可以索引子文檔。例如:
```
curl -XPUT 'localhost:9200/blogs?pretty' -H 'Content-Type: application/json' -d'
{
"mappings": {
"tag_parent": {},
"blog_tag": {
"_parent": {
"type": "tag_parent"
}
}
}
}
'
curl -XPUT 'localhost:9200/blogs/blog_tag/1122?parent=1111&pretty' -H 'Content-Type: application/json' -d'
{
"tag" : "something"
}
'
```
對子文檔建立索引時,**routing value** ( 路由值?) 會自動設置為與其父代相同,除非使用路由參數顯式指定路由值。
## Distributed ( 分布式 )
索引操作基于其路由定向到 **primary shard?**( 主分片?) (參見上面的路由部分),并在包含此分片的實際節點上執行。在主分片完成操作后,如果需要,將更新分發到適用的副本。
## wait for active shards ( 等待活動分片 )
為了提高寫入系統的 **resiliency** ( 彈性?),索引操作可以配置為在繼續操作之前等待一定數量的活動分片副本。如果所需的活動分片副本數不可用,則寫操作必須等待并重試,直到必需的分片副本已啟動或發生超時為止。默認情況下,寫操作只等待主分片處于活動狀態,然后再繼續(**wait_for_active_shards=1**)。可以通過設置**?index.write.wait_for_active_shards** 來動態地在索引設置中覆蓋此默認值。要更改每個操作的此行為,可以使用?**wait_for_active_shards** 請求參數。
有效值是所有或任何正整數,直到索引中每個分片的配置副本的總數(即 **number_of_replicas+1**)。指定負值或者大于分片副本數的數字將拋出錯誤。
例如,假設我們有一個三個節點A,B和C的集群,我們創建一個索引,索引副本數設置為 3 (導致 4 個 **shard** 副本,比節點多一個副本)。如果我們嘗試索引操作,默認情況下,操作將僅確保每個分片的主副本在繼續之前可用。這意味著,即使 B 和 C 下降,并且 A 托管主分片副本,索引操作仍然將繼續只有一個數據副本。如果對請求設置?wait_for_active_shards 設置為 3 (并且所有3個節點都已啟動),則索引操作將在繼續之前需要 3 個活動分片副本,這是應該滿足的要求,因為在集群有3個活動節點,每個節點有一個碎片的副本。但是,如果我們將?**wait_for_active_shards** 設置為 all (或者 4, 這是相同的),索引操作將不會繼續,因為索引中的每個碎片的所有的 4 個副本沒有處于活動狀態。該操作將超時,除非在集群中啟動新節點以托管分片的第四個副本。
重要的是要注意,這個設置極大地減少了寫操作不寫入所需數量的分片副本的機會,但是它不能完全消除可能性,因為這種檢查在寫操作開始之前發生。一旦寫操作正在進行,復制仍然可能在任意數量的 **shard** 副本上失敗,但在主數據庫上仍然成功。寫操作響應的 **_shard** 部分顯示復制成功/失敗的分片副本的數量。
```
{
"_shards" : {
"total" : 2,
"failed" : 0,
"successful" : 2
}
}
```
## Refresh ( 刷新 )
控制此請求所做的更改對搜索可見。請參閱[?刷新](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-refresh.html)?。
## Noop Updates
當使用索引 **API** 更新文檔時,即使文檔沒有更改,也始終創建新版本的文檔。如果這不可接受,請使用將?**detect_noop** 設置為 **true** 的**_update** **API** 。此選項在索引 **API** 上不可用,因為索引 **api**? **doesn’t fetch the old source** ( 不提取舊源?),并且無法將其與 **new source** ( 新源?) 進行比較。
沒有一個強制和快速的規則,當 **noop** 更新是不能接受的。它是許多因素的組合,例如數據源發送實際上是 **noops** 的更新的頻率,以及每秒多少查詢,**elasticsearch** 在接收更新時在分片上運行。
## Timeout ( 超時 )
執行索引操作時分配的 **primary shard**?( 主分片?) 可能不可用。這種情況的一些原因可能是主分片當前正在從 **gateway?**( 網關?) 恢復或正在進行重定位。默認情況下,索引操作將在主分片上等待最多 **1** 分鐘,然后失敗并響應錯誤。 **timeout** 參數可以用于顯式指定等待時間。以下是將其設置為 **5** 分鐘的示例:
```
curl -XPUT 'localhost:9200/twitter/tweet/1?timeout=5m&pretty' -H 'Content-Type: application/json' -d'
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}
'
```
- 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