ElasticSearch

ElasticSearch Note 3

August 10, 2017 Database, IT No comments

search

there are two ways for searching

  • REST request body
  • REST request URI

REST request body

GET /bank/_search
{
  "query": { "match_all": {} },[......]

Read more

ElasticSearch Note 2

August 10, 2017 Database, IT No comments

ElasticSearch comparied with SQL and NoSQL

ElasticSearch
SQL
NoSQL
Index
DataBase
Database
Type
Table
Collection
Document
Value
Docum[......]

Read more

Elastic Search初探

June 23, 2017 Database, Python No comments , ,

研究了下ES,写了一个python版的关于ES的增删改查代码:

from datetime import datetime
from elasticsearch import Elasticsearch
es = Elasticsearch([{'host':'192.168.2.178','po[......]

Read more