forked from k-int/AggregatorCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
56 lines (34 loc) · 716 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
readme for aggregatorG
Common ES search:
http://localhost:9200/courses/course/_search?q=painting%20AND%20A2
http://localhost:9200/courses/course/_search?q=title:science
http://localhost:9200/courses/course/_search?q=*
Example mongo search
mongo <<!!
use xcri
db.courses.find({})
!!
Clearing down
mongo <<!!
use oda;
db.aggregations.remove({});
use xcri;
db.courses.remove({});
!!
curl -XDELETE 'http://localhost:9200/courses/'
Setting up ES:
cluster:
name: aggr
node:
name: "Aggr Master"
master: true
data: true
# bind to 0.0.0.0 by defauly
# network:
# host: 127.0.0.1
path:
logs: /var/log/elasticsearch
data: /var/data/elasticsearch
http:
port: 9200
enabled: true