notes blog about

Intro

Data organization (layout)

Types

{
  "name": "Elasticsearch Denver",
  "organizer": "Lee",
  "location": {
    "name": "Denver, Colorado, USA",
    "geolocation": "39.7392, -104.9847"
  }
}

Getting mappings

curl 'localhost:9200/<index>/_mapping/?pretty'

Searching

Show last 10 events:

curl -XPOST "http://localhost:9200/nxapi/events/_search?pretty=true&sort=date:asc"

More