1. Elasticsearch Common terms
Document documents Data
The index index (a concept that can be understood as a database in MySQL, where all document is stored in a specific index.) )
Type of data in the index (can be easily understood as a table in MySQL)
Field fields, document properties (such as user's document, age, name attribute)
Query syntax for querying DSL
2. Elasticsearch CRUD Operations
Create document
Read reading a document
Update Updates Document
Delete Deletes a document
The Elasticsearch create document is as follows:
POST/PERSON/STUDENT/1
{
"name": "Weiqi" "
Sex": "Man"
"score": "
+"}
The above/PERSON/STUDENT/1 means to create a document with a type of student and an ID of 1 under the person index. The class tolerance of a document is defined in JSON format.
About the Kibana crud can find the official API documentation, which is very detailed, the address is: https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
With more and more new technologies today, the best way to learn a technology is to look at official documents, which is the best way to learn.