File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,18 @@ curl -XDELETE 'http://localhost:9200/enron' 2>/dev/null >&2
6
6
# Create index
7
7
curl -XPOST ' http://localhost:9200/enron' -d'
8
8
{
9
- "mappings": {
10
- "email": {
11
- "properties": {
12
- "sender": { "type": "string", "index": "not_analyzed" },
13
- "recipients": { "type": "string", "index": "not_analyzed" },
14
- "cc": { "type": "string", "index": "not_analyzed" },
15
- "bcc": { "type": "string", "index": "not_analyzed" },
9
+ "mappings": {
10
+ "email": {
11
+ "properties": {
12
+ "sender": { "type": "string", "index": "not_analyzed" },
13
+ "recipients": { "type": "string", "index": "not_analyzed" },
14
+ "cc": { "type": "string", "index": "not_analyzed" },
15
+ "bcc": { "type": "string", "index": "not_analyzed" },
16
16
"subject": { "type": "string", "analyzer": "english" },
17
17
"body": { "type": "string", "analyzer": "english" }
18
- }
19
- }
20
- }
18
+ }
19
+ }
20
+ }
21
21
}
22
22
' 2> /dev/null >&2
23
23
You can’t perform that action at this time.
0 commit comments