• Java REST Client (deprecated): other versions:
  • Overview
  • Java Low Level REST Client
    • Getting started
      • Javadoc
      • Maven Repository
      • Dependencies
      • Shading
      • Initialization
      • Performing requests
      • Reading responses
      • Logging
    • Common configuration
      • Timeouts
      • Number of threads
      • Basic authentication
      • Encrypted communication
      • Others
      • Node selector
    • Sniffer
      • Javadoc
      • Maven Repository
      • Usage
    • License
  • Java High Level REST Client
    • Getting started
      • Compatibility
      • Javadoc
      • Maven Repository
      • Dependencies
      • Initialization
      • RequestOptions
    • Document APIs
      • Index API
      • Get API
      • Exists API
      • Delete API
      • Update API
      • Term Vectors API
      • Bulk API
      • Multi-Get API
      • Reindex API
      • Update By Query API
      • Delete By Query API
      • Rethrottle API
      • Multi Term Vectors API
    • Search APIs
      • Search API
      • Search Scroll API
      • Clear Scroll API
      • Multi-Search API
      • Search Template API
      • Multi-Search-Template API
      • Field Capabilities API
      • Ranking Evaluation API
      • Explain API
      • Count API
    • Miscellaneous APIs
      • Info API
      • Ping API
      • X-Pack Info API
      • X-Pack Usage API
    • Index APIs
      • Analyze API
      • Create Index API
      • Delete Index API
      • Index Exists API
      • Open Index API
      • Close Index API
      • Shrink Index API
      • Split Index API
      • Clone Index API
      • Refresh API
      • Flush API
      • Flush Synced API
      • Clear Cache API
      • Force Merge API
      • Rollover Index API
      • Put Mapping API
      • Get Mappings API
      • Get Field Mappings API
      • Index Aliases API
      • Exists Alias API
      • Get Alias API
      • Update Indices Settings API
      • Get Settings API
      • Put Template API
      • Validate Query API
      • Get Templates API
      • Templates Exist API
      • Get Index API
      • Freeze Index API
      • Unfreeze Index API
      • Delete Template API
      • Reload Search Analyzers API
    • Cluster APIs
      • Cluster Update Settings API
      • Cluster Get Settings API
      • Cluster Health API
    • Ingest APIs
      • Put Pipeline API
      • Get Pipeline API
      • Delete Pipeline API
      • Simulate Pipeline API
    • Snapshot APIs
      • Snapshot Get Repository API
      • Snapshot Create RepositoryAPI
      • Snapshot Delete Repository API
      • Snapshot Verify Repository API
      • Create Snapshot API
      • Get Snapshots API
      • Snapshots Status API
      • Delete Snapshot API
      • Restore Snapshot API
    • Tasks APIs
      • List Tasks API
      • Cancel Tasks API
    • Script APIs
      • Get Stored Script API
      • Put Stored Script API
      • Delete Stored Script API
    • Licensing APIs
      • Update License
      • Get License
      • Delete License
      • Start Trial
      • Start Basic License
      • Get Trial Status
      • Get Basic Status
    • Machine Learning APIs
      • Put anomaly detection job API
      • Get anomaly detection jobs API
      • Delete anomaly detection job API
      • Open anomaly detection job API
      • Close anomaly detection job API
      • Update anomaly detection job API
      • Flush Job API
      • Put datafeed API
      • Update datafeed API
      • Get datafeed API
      • Delete datafeed API
      • Preview Datafeed API
      • Start datafeed API
      • Stop Datafeed API
      • Get datafeed stats API
      • Get anomaly detection job stats API
      • Forecast Job API
      • Delete Forecast API
      • Get buckets API
      • Get overall buckets API
      • Get records API
      • Post Data API
      • Get influencers API
      • Get categories API
      • Get calendars API
      • Put calendar API
      • Get calendar events API
      • Post Calendar Event API
      • Delete calendar event API
      • Put anomaly detection jobs in calendar API
      • Delete anomaly detection jobs from calendar API
      • Delete calendar API
      • Get data frame analytics jobs API
      • Get data frame analytics jobs stats API
      • Put data frame analytics jobs API
      • Delete data frame analytics jobs API
      • Start data frame analytics jobs API
      • Stop data frame analytics jobs API
      • Evaluate data frame analytics API
      • Estimate memory usage API
      • Put Filter API
      • Get filters API
      • Update filter API
      • Delete Filter API
      • Get model snapshots API
      • Delete Model Snapshot API
      • Revert Model Snapshot API
      • Update model snapshot API
      • ML get info API
      • Delete Expired Data API
      • Set Upgrade Mode API
    • Migration APIs
      • Get Deprecation Info
    • Rollup APIs
      • Put Rollup Job API
      • Start Rollup Job API
      • Stop Rollup Job API
      • Delete Rollup Job API
      • Get Rollup Job API
      • Rollup Search API
      • Get Rollup Capabilities API
      • Get Rollup Index Capabilities API
    • Security APIs
      • Put User API
      • Get Users API
      • Delete User API
      • Enable User API
      • Disable User API
      • Change Password API
      • Put Role API
      • Get Roles API
      • Delete Role API
      • Delete Privileges API
      • Get Builtin Privileges API
      • Get Privileges API
      • Clear Roles Cache API
      • Clear Realm Cache API
      • Authenticate API
      • Has Privileges API
      • Get User Privileges API
      • SSL Certificate API
      • Put Role Mapping API
      • Get Role Mappings API
      • Delete Role Mapping API
      • Create Token API
      • Invalidate Token API
      • Put Privileges API
      • Create API Key API
      • Get API Key information API
      • Invalidate API Key API
    • Watcher APIs
      • Start watch service API
      • Stop watch service API
      • Put watch API
      • Get watch API
      • Delete watch API
      • Ack watch API
      • Deactivate watch API
      • Activate watch API
      • Execute watch API
      • Get Watcher stats API
    • Graph APIs
      • X-Pack Graph explore API
    • CCR APIs
      • Put Follow API
      • Pause Follow API
      • Resume Follow API
      • Unfollow API
      • Forget Follower API
      • Put Auto Follow Pattern API
      • Delete Auto Follow Pattern API
      • Get Auto Follow Pattern API
      • Get CCR Stats API
      • Get Follow Stats API
      • Get Follow Info API
    • Index Lifecycle Management APIs
      • Put Lifecycle Policy API
      • Delete Lifecycle Policy API
      • Get Lifecycle Policy API
      • Explain Lifecycle API
      • Start Index Lifecycle Management API
      • Stop Index Lifecycle Management API
      • Index Lifecycle Management Status API
      • Retry Lifecycle Policy API
      • Remove Policy from Index API
    • Snapshot Lifecycle Management APIs
      • Put Snapshot Lifecycle Policy API
      • Delete Snapshot Lifecycle Policy API
      • Get Snapshot Lifecycle Policy API
      • Execute Snapshot Lifecycle Policy API
    • Transform APIs
      • Get transform API
      • Get transform stats API
      • Put transform API
      • Update transform API
      • Delete transform API
      • Preview transform API
      • Start transform API
      • Stop transform API
    • Using Java Builders
      • Building Queries
      • Building Aggregations
    • Migration Guide
      • Motivations around a new Java client
      • Prerequisite
      • How to migrate
      • Updating the dependencies
      • Changing the client’s initialization code
      • Changing the application’s code
      • Provide feedback
    • License