Skip to content

Commit 52fb77a

Browse files
committed
Converting tabs to spaces
1 parent 25def5f commit 52fb77a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

load_into_elasticsearch.sh

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ curl -XDELETE 'http://localhost:9200/enron' 2>/dev/null >&2
66
# Create index
77
curl -XPOST 'http://localhost:9200/enron' -d'
88
{
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" },
1616
"subject": { "type": "string", "analyzer": "english" },
1717
"body": { "type": "string", "analyzer": "english" }
18-
}
19-
}
20-
}
18+
}
19+
}
20+
}
2121
}
2222
' 2>/dev/null >&2
2323

0 commit comments

Comments
 (0)