-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsources.json.example
More file actions
80 lines (80 loc) · 1.82 KB
/
sources.json.example
File metadata and controls
80 lines (80 loc) · 1.82 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"sources":[
{
"name":"localPostGISdatabase",
"type": "jdbc",
"driver": "org.postgresql.Driver",
"url": "jdbc:postgresql://localhost:5432/myDatabase",
"username":"postgresName",
"password":"postgresPassword",
"encoding":"UTF-8"
},
{
"name":"localPath1",
"type":"csv",
"directory":"./test/"
},
{
"name":"remoteElasticSearchAPI",
"type":"restapi",
"url":"http://localhost:9200/myIndexName/_search?pretty"
"username":"elasticName",
"password":"elasticPassword"
}
],
"search":[
{
"operation":"spatial_knn",
"source":"localPath1",
"dataset":"dataset1.csv",
"header":"true",
"search_column":"WKT"
},
{
"operation":"numerical_topk",
"source":"localPath1",
"header":"true",
"dataset":"dataset1.csv",
"search_column":"postitive_sentiment"
},
{
"operation":"numerical_topk",
"source":"localPath1",
"dataset":"dataset1.csv",
"header":"true",
"search_column":"negative_sentiment"
},
{
"operation":"numerical_topk",
"source":"remoteElasticSearchAPI",
"dataset":"companies",
"key_column":"id",
"search_column":"employees"
},
{
"operation":"categorical_topk",
"source":"localPath1",
"dataset":"dataset2.csv",
"search_column":"persons"
},
{
"operation":"numerical_topk",
"source":"remoteElasticSearchAPI",
"dataset":"companies",
"key_column":"id",
"search_column":"revenue"
},
{
"operation":"spatial_knn",
"source":"localPostGISdatabase",
"dataset":"companies",
"search_column":"location"
},
{
"operation":"categorical_topk",
"source":"localPostGISdatabase",
"dataset":"companies",
"search_column":"keywords"
}
]
}