-
Notifications
You must be signed in to change notification settings - Fork 0
Elasticsearch
illyfrancis edited this page Sep 22, 2015
·
4 revisions
- searching pieces of pure text
- searching text + structured data (products, user profiles, application logs)
- pure aggregated data (stats, metrics, etc)
- geo search
- distributed JSON document DB (anything) - not really a use case
- is a database, like other
- document oriented
- clusters
- built on Lucene
- build on an IR foundation (information retrieval)
- can perform fancy tricks with inverted indexes and automata (???)
storing a document
verb: PUT
index: literature
type: quote
docId: one
document: {json}
curl -XPUT http://localhost:9200/literature/quote/one -d'
{
"person": "Jack Handy",
"said": "The face of a child can say it all, especially the mouth part of the face"
}'
indexes live in the cluster, documents live in indexes