Mapa mental
ElasticSearch

Contenido del mapa
ElasticSearch
Commands
- HTTP
- Get
- Search a document using the Id
- GET Type/Document/Id
- Search a document using a parameter
- GET Type/Document/_search?q=attribute:searchParameter
- _mapping
- Check data types
- Search a document using the Id
- Post
- Create or update document
- POST /Type/Document/Id/_update
- { "doc" : { "name" : "New Name" } }
- POST /Type/Document/Id/_update
- Create or update document
- Put
- Insert a document with specific Id
- PUT Type/Document/Id
- CHANGE A WHOLE DOCUMENT
- Insert a document with specific Id
- Delete
- Delets a document using a specific Id
- DELETE Type/Document/Id
- Delets a document using a specific Id
- Head
- Returns just HTTP headers
- Do not return documents
- Used to check the document existence
- Get
- HTTP
Documentation
- Optimistic Concurrency
- https://www.elastic.co/guide/en/elasticsearch/guide/current/optimistic-concurrency-control.html
- ES header returns
- took
- Query time in milliseconds
- time_out
- True/False if query exceded search time
- _shards.total
- Number of shards used in query
- _shards.successful | .failed
- Number of shards without(or with) fails during query
- hits.total
- Number of found documents
- hits.max_score
- 0 to 1 value to express the match of query search
- hits.hits
- The found documents
- took
- Request body search scroll
- https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-scroll
- Data Types
- Core
- Number
- long
- short
- byte
- double
- float
- Text
- String
- Date
- Number
- Other data types
- https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html
- Core
- Optimistic Concurrency
SQL vs NoSQL
- SQL
- DataBase
- Table
- Schema
- Row
- Column
- NoSQL
- Index
- Logical Namespace
- Points to >= 1 shards
- Logical Namespace
- Type
- Mapping
- Document
- Field
- Index
- SQL
Plugins
- kopfe
- Graphic interface to send HTTP commands
- kibana
- kopfe
Shards
- Partitioning data horizontally
- Primary shard
- Where write operations first occur
- Replica shard
- If operation occurs how expected receives the write operation
- Primary shard
- The number of shards must be defined at the creation moment and cannot be changed after that
- Partitioning data horizontally
Imágenes y archivos del mapa
Información
- Descripción
- Generalista TI (ElasticSearch) Carreira Profissional Mapa Mental sobre ElasticSearch, creado por Adriano Soares el 24/02/2022.
- Creado por
- Adriano Soares
- Visitas
- 1
- Valoración


