forked from devsonket/devsonket.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelasticsearch.json
More file actions
70 lines (70 loc) · 4.11 KB
/
Copy pathelasticsearch.json
File metadata and controls
70 lines (70 loc) · 4.11 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
{
"id": "elasticsearch",
"title": "ইলাস্টিক সার্চ",
"slug": "elasticsearch",
"description": "ইলাস্টিকসার্চ হল একটি ওপেন সোর্স সার্চ এবং অ্যানালিটিক্স ইঞ্জিন যা আপনাকে দ্রুত এবং কাছাকাছি রিয়েল-টাইমে বিপুল পরিমাণ ডেটা সঞ্চয়, অনুসন্ধান এবং বিশ্লেষণ করতে এবং মিলিসেকেন্ডে উত্তর দিয়ে দেয়",
"colorPref": "#252426",
"contents": [
{
"title": "সাধারণ",
"items": [
{
"definition": "লিস্টের সকল ইন্ডেক্স বের করার জন্য",
"code": "curl -X GET 'http://localhost:9200/_cat/indices?v'"
},
{
"definition": "লিস্টের সকল ডক বের করার জন্য",
"code": "curl -X GET 'http://localhost:9200/sample/_search'"
},
{
"definition": "ইউ,আর,এল প্যারামিটারের মাধ্যমে কুয়েরি ইউজ করা",
"code": "curl -X GET http://localhost:9200/samples/_search?q=author:xyz"
},
{
"definition": "ইন্ডেক্স ডিলেট করতে",
"code": "curl -X DELETE 'http://localhost:9200/samples'"
},
{
"definition": "লিস্টের ইন্ডেক্স ম্যাপিং করতে",
"code": "curl -X GET http://localhost:9200/samples"
},
{
"definition": "ডাটা এ্যাড করতে",
"code": "curl -XPUT --header 'Content-Type: application/json' http://localhost:9200/samples/_doc/1 -d '{ \"school\" : \"Harvard\"}'"
},
{
"definition": "ডক আপডেট করতে",
"code": "curl -XPUT --header 'Content-Type: application/json' http://localhost:9200/samples/_doc/2 -d '{\"school\": \"xyz\"}'curl -XPOST --header 'Content-Type: application/json' http://localhost:9200/samples/_doc/2/_update -d '{\"doc\" : {\"students\": 100}}'"
},
{
"definition": "ক্লাস্টার হেলথ দেখতে",
"code": "curl --user $pwd -H 'Content-Type: application/json' -XGET http://localhost:9200/_cluster/health?pretty"
},
{
"definition": "ক্লাস্টার হেলথ স্ট্যাস্টস দেখতে",
"code": "curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'"
},
{
"definition": "নোড দেখতে",
"code": "curl -XGET 'http://localhost:9200/_cat/nodes?pretty=true'"
},
{
"definition": "শার্ড দেখতে",
"code": "curl -XGET http://localhost:9200/_cat/shards"
},
{
"definition": "ইনডিস দেখতে",
"code": "curl -XGET 'http://localhost:9200/_cat/indices?v'"
},
{
"definition": "ইনডিসের সেটিং জানার জন্য",
"code": "curl -XGET 'http://localhost:9200/_all/_settings?pretty=true'"
},
{
"definition": "ইলাস্টিক সার্চের ভার্সন জানার জন্য",
"code": "curl -XGET 'localhost:9200'"
}
]
}
]
}