Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
226 lines (226 sloc) 8.51 KB
{
"index_patterns": ["zentity_sandbox_leie*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.codec": "best_compression",
"index.refresh_interval": "5s",
"analysis": {
"filter": {
"zentity_clean_white": {
"type": "pattern_replace",
"pattern": " +",
"replacement": " "
},
"zentity_initialize": {
"type": "pattern_replace",
"pattern": "^(.).*",
"replacement": "$1"
},
"zentity_phonetic": {
"type": "phonetic",
"encoder": "nysiis"
},
"zentity_punct_white": {
"type": "pattern_replace",
"pattern": "\\p{Punct}",
"replacement": " "
},
"zentity_remove_apostrophes": {
"type": "pattern_replace",
"pattern": "'",
"replacement": ""
},
"zentity_remove_non_digits": {
"type": "pattern_replace",
"pattern": "[^\\d]",
"replacement": ""
},
"zentity_remove_one_char_tokens": {
"type": "length",
"min": 2
},
"zentity_remove_street_suffix": {
"type": "pattern_replace",
"pattern": "^(\\d+ ([^ ]+ )+)(allee|alley|ally|aly|anex|annex|annx|anx|arc|arcade|av|ave|aven|avenu|avenue|avn|avnue|bayoo|bayou|bch|beach|bend|bg|bgs|blf|blfs|bluf|bluff|bluffs|blvd|bnd|bot|bottm|bottom|boul|boulevard|boulv|br|branch|brdge|brg|bridge|brk|brks|brnch|brook|brooke|brookes|brooks|btm|burg|burgs|byp|bypa|bypas|bypass|byps|byu|camp|canyn|canyon|cape|causeway|causwa|cen|cent|center|centers|centr|centre|cir|circ|circl|circle|circles|cirs|clb|clf|clfs|cliff|cliffs|club|cmn|cmns|cmp|cnter|cntr|cnyn|common|commons|cor|corner|corners|cors|course|court|courts|cove|coves|cp|cpe|crcl|crcle|creek|cres|crescent|crest|crk|crossing|crossroad|crossroads|crse|crsent|crsnt|crssng|crst|cswy|ct|ctr|ctrs|cts|curv|curve|cv|cvs|cyn|dale|dam|div|divide|dl|dm|dr|driv|drive|drives|drs|drv|dv|dvd|est|estate|estates|ests|exp|expr|express|expressway|expw|expy|ext|extension|extensions|extn|extnsn|exts|fall|falls|ferry|field|fields|flat|flats|fld|flds|fls|flt|flts|ford|fords|forest|forests|forg|forge|forges|fork|forks|fort|frd|frds|freeway|freewy|frg|frgs|frk|frks|frry|frst|frt|frway|frwy|fry|ft|fwy|garden|gardens|gardn|gateway|gatewy|gatway|gdn|gdns|glen|glens|gln|glns|grden|grdn|grdns|green|greens|grn|grns|grov|grove|groves|grv|grvs|gtway|gtwy|harb|harbor|harbors|harbour|harbours|harbr|haven|hbr|hbrs|heights|highway|highwy|hill|hills|hiway|hiwy|hl|hllw|hls|hollow|hollows|holw|holws|hrbor|ht|hts|hvn|hway|hwy|inlet|inlt|is|island|islands|isle|isles|islnd|islnds|iss|jct|jction|jctn|jctns|jcts|junction|junctions|junctn|juncton|key|keys|knl|knls|knol|knoll|knolls|ky|kys|lake|lakes|land|landing|lane|lck|lcks|ldg|ldge|lf|lgt|lgts|light|lights|lk|lks|ln|lndg|lndng|loaf|lock|locks|lodg|lodge|loop|loops|mall|manor|manors|mdw|mdws|meadow|meadows|medows|mews|mill|mills|mission|missn|ml|mls|mnr|mnrs|mnt|mntain|mntn|mntns|motorway|mount|mountain|mountains|mountin|msn|mssn|mt|mtin|mtn|mtns|mtwy|nck|neck|opas|orch|orchard|orchrd|oval|overpass|ovl|park|parks|parkway|parkways|parkwy|pass|passage|path|paths|pike|pikes|pine|pines|pkway|pkwy|pkwys|pky|pl|place|plain|plains|plaza|pln|plns|plz|plza|pne|pnes|point|points|port|ports|pr|prairie|prk|prr|prt|prts|psge|pt|pts|rad|radial|radiel|radl|ramp|ranch|ranches|rapid|rapids|rd|rdg|rdge|rdgs|rds|rest|ridge|ridges|riv|river|rivr|rnch|rnchs|road|roads|route|row|rpd|rpds|rst|rte|rue|run|rvr|shl|shls|shoal|shoals|shoar|shoars|shore|shores|shr|shrs|skwy|skyway|smt|spg|spgs|spng|spngs|spring|springs|sprng|sprngs|spur|spurs|sq|sqr|sqre|sqrs|sqs|squ|square|squares|st|sta|station|statn|stn|str|stra|strav|straven|stravenue|stravn|stream|street|streets|streme|strm|strt|strvn|strvnue|sts|sumit|sumitt|summit|ter|terr|terrace|throughway|tpke|trace|traces|track|tracks|trafficway|trail|trailer|trails|trak|trce|trfy|trk|trks|trl|trlr|trlrs|trls|trnpk|trwy|tunel|tunl|tunls|tunnel|tunnels|tunnl|turnpike|turnpk|un|underpass|union|unions|uns|upas|valley|valleys|vally|vdct|via|viadct|viaduct|view|views|vill|villag|village|villages|ville|villg|villiage|vis|vist|vista|vl|vlg|vlgs|vlly|vly|vlys|vst|vsta|vw|vws|walk|walks|wall|way|ways|well|wells|wl|wls|wy|xing|xrd|xrds)$",
"replacement": "$1"
},
"zentity_remove_white": {
"type": "pattern_replace",
"pattern": " +",
"replacement": ""
},
"zentity_truncate_postal_code": {
"type": "truncate",
"length": 5
}
},
"analyzer": {
"zentity_name": {
"tokenizer": "standard",
"filter": [
"icu_normalizer",
"icu_folding",
"stop",
"zentity_remove_apostrophes",
"zentity_punct_white",
"zentity_clean_white",
"trim",
"fingerprint"
]
},
"zentity_name_initials": {
"tokenizer": "standard",
"filter": [
"icu_normalizer",
"icu_folding",
"stop",
"zentity_remove_apostrophes",
"zentity_punct_white",
"zentity_clean_white",
"zentity_remove_one_char_tokens",
"zentity_initialize",
"fingerprint",
"zentity_remove_white"
]
},
"zentity_name_phonetic": {
"tokenizer": "standard",
"filter": [
"icu_normalizer",
"icu_folding",
"stop",
"zentity_remove_apostrophes",
"zentity_punct_white",
"zentity_clean_white",
"trim",
"zentity_phonetic",
"fingerprint"
]
},
"zentity_us_postal_code": {
"tokenizer": "keyword",
"filter": [
"trim",
"zentity_remove_non_digits",
"zentity_truncate_postal_code"
]
},
"zentity_us_street": {
"tokenizer": "keyword",
"filter": [
"icu_normalizer",
"icu_folding",
"zentity_remove_apostrophes",
"zentity_punct_white",
"zentity_clean_white",
"zentity_remove_street_suffix",
"trim"
]
}
}
}
},
"mappings": {
"_doc": {
"_all": {
"enabled": false
},
"properties": {
"lastname": {
"type": "text",
"analyzer": "zentity_name",
"fields": {
"phonetic": {
"type": "text",
"analyzer": "zentity_name_phonetic"
}
}
},
"firstname": {
"type": "text",
"analyzer": "zentity_name",
"fields": {
"phonetic": {
"type": "text",
"analyzer": "zentity_name_phonetic"
}
}
},
"midname": {
"type": "text",
"analyzer": "zentity_name",
"fields": {
"phonetic": {
"type": "text",
"analyzer": "zentity_name_phonetic"
}
}
},
"busname": {
"type": "text",
"analyzer": "zentity_name",
"fields": {
"initials": {
"type": "text",
"analyzer": "zentity_name_initials"
},
"phonetic": {
"type": "text",
"analyzer": "zentity_name_phonetic"
}
}
},
"general": {
"type": "keyword"
},
"specialty": {
"type": "keyword"
},
"upin": {
"type": "keyword"
},
"npi": {
"type": "keyword"
},
"dob": {
"type": "date",
"format": "yyyyMMdd"
},
"address": {
"type": "text",
"analyzer": "zentity_us_street"
},
"city": {
"type": "text",
"analyzer": "zentity_name"
},
"state": {
"type": "keyword"
},
"zip": {
"type": "text",
"analyzer": "zentity_us_postal_code"
},
"excltype": {
"type": "keyword"
},
"excldate": {
"type": "date",
"format": "yyyyMMdd"
},
"reindate": {
"type": "date",
"format": "yyyyMMdd"
},
"waiverdate": {
"type": "date",
"format": "yyyyMMdd"
},
"wvrstate": {
"type": "keyword"
}
}
}
}
}
You can’t perform that action at this time.