• Elasticsearch Guide: other versions:
  • 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
      • Introducing the Query Language
      • Executing Searches
      • Executing Filters
      • Executing Aggregations
    • Conclusion
  • Setup
    • Configuration
    • Running as a Service on Linux
    • Running as a Service on Windows
    • Directory Layout
    • Repositories
    • Upgrading
  • Breaking changes
    • Breaking changes in 1.6
    • Breaking changes in 1.5
    • Breaking changes in 1.4
    • Breaking changes in 1.0
      • System and settings
      • Stats and Info APIs
      • Indices APIs
      • Index request
      • Search requests
      • Multi-fields
      • Stopwords
      • Dates without years
      • Parameters
      • Return values
      • Deprecations
      • Percolator
  • API Conventions
    • Multiple Indices
    • Common options
    • URL-based access control
  • Document APIs
    • Index API
    • Get API
    • Delete API
    • Update API
    • Multi Get API
    • Bulk API
    • Delete By Query API
    • Bulk UDP API
    • Term Vectors
    • Multi termvectors API
  • Search APIs
    • Search
    • URI Search
    • Request Body Search
      • Query
      • From / Size
      • Sort
      • Source filtering
      • Fields
      • Script Fields
      • Field Data Fields
      • Post filter
      • Highlighting
      • Rescoring
      • Search Type
      • Scroll
      • Preference
      • Explain
      • Version
      • Index Boost
      • min_score
      • Named Queries and Filters
      • Inner hits
    • Search Template
    • Search Shards API
    • Aggregations
      • Min Aggregation
      • Max Aggregation
      • Sum Aggregation
      • Avg Aggregation
      • Stats Aggregation
      • Extended Stats Aggregation
      • Value Count Aggregation
      • Percentiles Aggregation
      • Percentile Ranks Aggregation
      • Cardinality Aggregation
      • Geo Bounds Aggregation
      • Top hits Aggregation
      • Scripted Metric Aggregation
      • Global Aggregation
      • Filter Aggregation
      • Filters Aggregation
      • Missing Aggregation
      • Nested Aggregation
      • Reverse nested Aggregation
      • Children Aggregation
      • Terms Aggregation
      • Significant Terms Aggregation
      • Range Aggregation
      • Date Range Aggregation
      • IPv4 Range Aggregation
      • Histogram Aggregation
      • Date Histogram Aggregation
      • Geo Distance Aggregation
      • GeoHash grid Aggregation
    • Facets
      • Terms Facet
      • Range Facets
      • Histogram Facets
      • Date Histogram Facet
      • Filter Facets
      • Query Facets
      • Statistical Facet
      • Terms Stats Facet
      • Geo Distance Facets
      • Migrating to aggregations
    • Suggesters
      • Term suggester
      • Phrase Suggester
      • Completion Suggester
      • Context Suggester
    • Multi Search API
    • Count API
    • Search Exists API
    • Validate API
    • Explain API
    • Percolator
    • More Like This API
    • Field stats API
  • Indices APIs
    • Create Index
    • Delete Index
    • Get Index
    • Indices Exists
    • Open / Close Index API
    • Put Mapping
    • Get Mapping
    • Get Field Mapping
    • Types Exists
    • Delete Mapping
    • Index Aliases
    • Update Indices Settings
    • Get Settings
    • Analyze
    • Index Templates
    • Warmers
    • Status
    • Indices Stats
    • Indices Segments
    • Indices Recovery
    • Clear Cache
    • Flush
      • Synced Flush
    • Refresh
    • Optimize
    • Shadow replica indices
      • Node level settings related to shadow replicas
    • Upgrade
  • cat APIs
    • cat aliases
    • cat allocation
    • cat count
    • cat fielddata
    • cat health
    • cat indices
    • cat master
    • cat nodes
    • cat pending tasks
    • cat plugins
    • cat recovery
    • cat thread pool
    • cat shards
      • Index pattern
      • Relocation
      • Shard states
    • cat segments
  • Cluster APIs
    • Cluster Health
    • Cluster State
    • Cluster Stats
    • Pending cluster tasks
    • Cluster Reroute
    • Cluster Update Settings
    • Nodes Stats
    • Nodes Info
    • Nodes hot_threads
    • Nodes Shutdown
  • Query DSL
    • Queries
      • Match Query
      • Multi Match Query
      • Bool Query
      • Boosting Query
      • Common Terms Query
      • Constant Score Query
      • Dis Max Query
      • Filtered Query
      • Fuzzy Like This Query
      • Fuzzy Like This Field Query
      • Function Score Query
      • Fuzzy Query
      • GeoShape Query
      • Has Child Query
      • Has Parent Query
      • Ids Query
      • Indices Query
      • Match All Query
      • More Like This Query
      • Nested Query
      • Prefix Query
      • Query String Query
      • Simple Query String Query
      • Range Query
      • Regexp Query
      • Span First Query
      • Span Multi Term Query
      • Span Near Query
      • Span Not Query
      • Span Or Query
      • Span Term Query
      • Term Query
      • Terms Query
      • Top Children Query
      • Wildcard Query
      • Minimum Should Match
      • Multi Term Query Rewrite
      • Template Query
    • Filters
      • And Filter
      • Bool Filter
      • Exists Filter
      • Geo Bounding Box Filter
      • Geo Distance Filter
      • Geo Distance Range Filter
      • Geo Polygon Filter
      • GeoShape Filter
      • Geohash Cell Filter
      • Has Child Filter
      • Has Parent Filter
      • Ids Filter
      • Indices Filter
      • Limit Filter
      • Match All Filter
      • Missing Filter
      • Nested Filter
      • Not Filter
      • Or Filter
      • Prefix Filter
      • Query Filter
      • Range Filter
      • Regexp Filter
      • Script Filter
      • Term Filter
      • Terms Filter
      • Type Filter
  • Mapping
    • Fields
      • _uid
      • _id
      • _type
      • _source
      • _all
      • _analyzer
      • _boost
      • _parent
      • _field_names
      • _routing
      • _index
      • _size
      • _timestamp
      • _ttl
    • Types
      • Core Types
      • Array Type
      • Object Type
      • Root Object Type
      • Nested Type
      • IP Type
      • Geo Point Type
      • Geo Shape Type
      • Attachment Type
    • Date Format
    • Dynamic Mapping
    • Config Mappings
    • Meta
    • Transform
      • Get Transformed
      • Immutable Transformation
  • Analysis
    • Analyzers
      • Standard Analyzer
      • Simple Analyzer
      • Whitespace Analyzer
      • Stop Analyzer
      • Keyword Analyzer
      • Pattern Analyzer
      • Language Analyzers
      • Snowball Analyzer
      • Custom Analyzer
    • Tokenizers
      • Standard Tokenizer
      • Edge NGram Tokenizer
      • Keyword Tokenizer
      • Letter Tokenizer
      • Lowercase Tokenizer
      • NGram Tokenizer
      • Whitespace Tokenizer
      • Pattern Tokenizer
      • UAX Email URL Tokenizer
      • Path Hierarchy Tokenizer
      • Classic Tokenizer
      • Thai Tokenizer
    • Token Filters
      • Standard Token Filter
      • ASCII Folding Token Filter
      • Length Token Filter
      • Lowercase Token Filter
      • Uppercase Token Filter
      • NGram Token Filter
      • Edge NGram Token Filter
      • Porter Stem Token Filter
      • Shingle Token Filter
      • Stop Token Filter
      • Word Delimiter Token Filter
      • Stemmer Token Filter
      • Stemmer Override Token Filter
      • Keyword Marker Token Filter
      • Keyword Repeat Token Filter
      • KStem Token Filter
      • Snowball Token Filter
      • Phonetic Token Filter
      • Synonym Token Filter
      • Compound Word Token Filter
      • Reverse Token Filter
      • Elision Token Filter
      • Truncate Token Filter
      • Unique Token Filter
      • Pattern Capture Token Filter
      • Pattern Replace Token Filter
      • Trim Token Filter
      • Limit Token Count Token Filter
      • Hunspell Token Filter
      • Common Grams Token Filter
      • Normalization Token Filter
      • CJK Width Token Filter
      • CJK Bigram Token Filter
      • Delimited Payload Token Filter
      • Keep Words Token Filter
      • Keep Types Token Filter
      • Classic Token Filter
      • Apostrophe Token Filter
    • Character Filters
      • Mapping Char Filter
      • HTML Strip Char Filter
      • Pattern Replace Char Filter
    • ICU Analysis Plugin
  • Modules
    • Cluster
    • Discovery
      • Azure Discovery
      • EC2 Discovery
      • Google Compute Engine Discovery
      • Zen Discovery
    • Gateway
      • Local Gateway
    • HTTP
    • Indices
    • memcached
    • Network Settings
    • Node
    • Tribe node
    • Plugins
    • Scripting
    • Text scoring in scripts
    • Thread Pool
    • Thrift
    • Transport
    • Snapshot And Restore
  • Index Modules
    • Analysis
    • Index Shard Allocation
    • Index Slow Log
    • Merge
    • Store
    • Mapper
    • Translog
    • Cache
    • Shard query cache
    • Field data
    • Field data formats
    • Similarity module
  • Testing
    • Java Testing Framework
      • why randomized testing?
      • Using the elasticsearch test classes
      • unit tests
      • integration tests
      • parameterized tests
      • Randomized testing
      • Assertions
  • Glossary of terms