Skip to content

Commit 29198b5

Browse files
committed
Using english analyzer for subject and body
1 parent c32e10c commit 29198b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

load_into_elasticsearch.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ curl -XPOST 'http://localhost:9200/enron' -d'
1212
"sender": { "type": "string", "index": "not_analyzed" },
1313
"recipients": { "type": "string", "index": "not_analyzed" },
1414
"cc": { "type": "string", "index": "not_analyzed" },
15-
"bcc": { "type": "string", "index": "not_analyzed" }
15+
"bcc": { "type": "string", "index": "not_analyzed" },
16+
"subject": { "type": "string", "analyzer": "english" },
17+
"body": { "type": "string", "analyzer": "english" }
1618
}
1719
}
1820
}

0 commit comments

Comments
 (0)