permission is strictly prohibited What is Elasticsearch? 4 Elasticsearch is an open source, distributed search and analytics engine, designed for horizontal scalability, reliability, and easy management.
permission is strictly prohibited What if my document has a location? 7 POST my_index/books/1 { "title" : “Elasticsearch In Action", "price" : 35.39, “sold_at”: { “lat”: 87.63, “lon”: -122.53 } }
permission is strictly prohibited Elasticsearch Mappings 9 Mapping is the process of defining how a document, and the fields it contains, are stored and indexed. For instance, use mappings to define: - which fields contains numbers or dates - which strings should be treated as full-text fields - which fields are geolocations
permission is strictly prohibited Queries 16 ‣ geo_shape ‣ filter documents relative to a geo_shape in the query ‣ requires geo_shape type ‣ geo bounding box ‣ filter documents based on a… bounding box ‣ geo distance ‣ filter documents within specific distance ‣ geo polygon ‣ filter documents that fall within polygon
permission is strictly prohibited Aggregations 18 ‣ geo distance ‣ distance ring buckets around an origin point ‣ Geo Hash ‣ splits documents into equal-sized buckets forming a grid over a region. Context Suggestion ‣ suggest documents based on input and distance