EElasticsearch Handbook

EK

API Quick Reference

Index, document, search, cluster ve security işlemleri için sık kullanılan Elasticsearch endpoint'lerinin hızlı özeti.

Index Operations

Endpoint Method Açıklama
/{index} PUT Index oluştur
/{index} DELETE Index sil
/{index}/_mapping PUT Mapping güncelle
/{index}/_settings PUT Settings güncelle
/{index}/_open POST Index aç
/{index}/_close POST Index kapat
/_reindex POST Index'i kopyala

Document Operations

Endpoint Method Açıklama
/{index}/_doc/{id} PUT/POST Doküman indexle
/{index}/_doc/{id} GET Doküman getir
/{index}/_doc/{id} DELETE Doküman sil
/{index}/_update/{id} POST Partial update
/_bulk POST Toplu işlem
/{index}/_update_by_query POST Koşullu güncelle
/{index}/_delete_by_query POST Koşullu sil

Search & Analytics

Endpoint Method Açıklama
/{index}/_search GET/POST Arama
/{index}/_count GET Doküman sayısı
/_msearch POST Multi-search
/_query POST ES
/_analyze POST Analyzer test

Cluster

Endpoint Method Açıklama
/_cluster/health GET Cluster sağlığı
/_cluster/settings PUT Cluster ayarları
/_cat/nodes GET Node listesi
/_cat/indices GET Index listesi
/_cat/shards GET Shard dağılımı
/_nodes/stats GET Node metrikleri
/_snapshot PUT/GET Backup