-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelasticsearch_index_mapping.json
64 lines (64 loc) · 3.55 KB
/
elasticsearch_index_mapping.json
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
{
"_source": {"enabled": true},
"_all": {"enabled": false},
"properties": {
"id": {"type": "string", "index": "not_analyzed"},
"first_name": {"type": "string", "analyzer": "name_analyzer"},
"first_name_compact": {"type": "string", "analyzer": "name_compact_analyzer"},
"middle_name": {"type": "string", "analyzer": "name_analyzer"},
"middle_name_compact": {"type": "string", "analyzer": "name_compact_analyzer"},
"last_name": {"type": "string", "analyzer": "name_analyzer"},
"last_name_compact": {"type": "string", "analyzer": "name_compact_analyzer"},
"suffix": {"type": "string", "analyzer": "name_analyzer"},
"dob_year": {"type": "integer"},
"dob_month": {"type": "integer"},
"dob_day": {"type": "integer"},
"effective_date": {"type": "string", "index": "not_analyzed"},
"registration_date": {"type": "string", "index": "not_analyzed"},
"first_time_seen_voter_id": {"type": "string", "index": "not_analyzed"},
"address": {"type": "string", "analyzer": "address_analyzer"},
"city": {"type": "string", "analyzer": "simple"},
"st": {"type": "string", "index": "not_analyzed"},
"zip_code": {"type": "string", "index": "not_analyzed"},
"lat_lng_location": {"type": "geo_point", "fielddata" : {"format" : "compressed", "precision" : "3m"}},
"county": {"type": "string", "index": "not_analyzed"},
"address_street_name": {"type": "string", "index": "not_analyzed"},
"address_street_number": {"type": "string", "index": "not_analyzed"},
"address_unit_designator": {"type": "string", "index": "not_analyzed"},
"address_apt_number": {"type": "string", "index": "not_analyzed"},
"ts_address": {"type": "string", "analyzer": "address_analyzer"},
"ts_city": {"type": "string", "index": "not_analyzed"},
"ts_st": {"type": "string", "index": "not_analyzed"},
"ts_zip_code": {"type": "string", "index": "not_analyzed"},
"ts_lat_lng_location": {"type": "geo_point", "fielddata" : {"format" : "compressed", "precision" : "3m"}},
"ts_address_street_name": {"type": "string", "index": "not_analyzed"},
"ts_address_street_number": {"type": "string", "index": "not_analyzed"},
"ts_address_unit_designator": {"type": "string", "index": "not_analyzed"},
"ts_address_apt_number": {"type": "string", "index": "not_analyzed"},
"phone": {"type": "string", "index": "not_analyzed"},
"vb_phone": {"type": "string", "index": "not_analyzed"},
"vb_phone_type": {"type": "string", "index": "not_analyzed"},
"vb_phone_wireless": {"type": "string", "index": "not_analyzed"},
"ts_wireless_phone": {"type": "string", "index": "not_analyzed"},
"email": {"type": "string", "index": "not_analyzed"},
"email_append_level": {"type": "string", "index": "not_analyzed"},
"party": {"type": "string", "index": "not_analyzed"},
"general_2016": {"type": "boolean"},
"general_2014": {"type": "boolean"},
"general_2012": {"type": "boolean"},
"general_2010": {"type": "boolean"},
"general_2008": {"type": "boolean"},
"general_2006": {"type": "boolean"},
"general_2004": {"type": "boolean"},
"general_2002": {"type": "boolean"},
"general_2000": {"type": "boolean"},
"vf_g2016": {"type": "string", "index": "not_analyzed"},
"vf_g2014": {"type": "string", "index": "not_analyzed"},
"vf_g2012": {"type": "string", "index": "not_analyzed"},
"vf_p2016": {"type": "string", "index": "not_analyzed"},
"vf_p2014": {"type": "string", "index": "not_analyzed"},
"vf_p2012": {"type": "string", "index": "not_analyzed"},
"num_general_election_votes": {"type": "integer"},
"num_primary_election_votes": {"type": "integer"}
}
}