Last active
December 25, 2015 04:59
-
-
Save clintonb/6921683 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settings": { | |
"index": { | |
"number_of_shards": 10, | |
"number_of_replicas": 1, | |
"analysis": { | |
"analyzer": { | |
"default": { | |
"type": "standard", | |
"tokenizer": "standard", | |
"filter": ["standard", "lowercase", "stop"] | |
}, | |
"boost_bury_analyzer": { | |
"type": "custom", | |
"tokenizer": "keyword", | |
"filter": ["lowercase"] | |
}, | |
"stemmer": { | |
"type": "custom", | |
"tokenizer": "standard", | |
"filter": ["standard", "lowercase", "stop", "snowball"] | |
}, | |
"synonym_stemmer": { | |
"type": "custom", | |
"tokenizer": "standard", | |
"filter": ["standard", "lowercase", "stop", "synonym", "snowball"] | |
}, | |
"synonym_analyzer": { | |
"type": "custom", | |
"tokenizer": "standard", | |
"filter": ["standard", "lowercase", "stop", "synonym"] | |
}, | |
"suggestions": { | |
"tokenizer": "standard", | |
"filter": ["standard", "lowercase", "suggestions_shingle"] | |
} | |
}, | |
"filter": { | |
"synonym": { | |
"type": "synonym", | |
"synonyms_path": "analysis/synonyms.txt", | |
"ignore_case": true | |
}, | |
"suggestions_shingle": { | |
"type": "shingle", | |
"min_shingle_size": 2, | |
"max_shingle_size": 5, | |
"output_unigrams": true | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"person": { | |
"_all": {"enabled": false}, | |
"_id": { | |
"path": "person_ref" | |
}, | |
"properties": { | |
"full_name": { | |
"type": "multi_field", | |
"fields": { | |
"full_name": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"degrees": { | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"source": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"last_name": { | |
"type": "multi_field", | |
"fields": { | |
"last_name": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"first_name": { | |
"type": "multi_field", | |
"fields": { | |
"first_name": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"middle_name": { | |
"type": "multi_field", | |
"fields": { | |
"middle_name": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"specialty": { | |
"type": "multi_field", | |
"fields": { | |
"specialty": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"specialty_raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"stemmed": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "stemmer" | |
} | |
} | |
}, | |
"subspecialty": { | |
"type": "multi_field", | |
"fields": { | |
"subspecialty": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"subspecialty_raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"stemmed": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "stemmer" | |
} | |
} | |
}, | |
"subsubspecialty": { | |
"type": "multi_field", | |
"fields": { | |
"subsubspecialty": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"subsubspecialty_raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"stemmed": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "stemmer" | |
} | |
} | |
}, | |
"prior": { | |
"type": "multi_field", | |
"fields": { | |
"prior": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"prior_raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
} | |
} | |
}, | |
"prior_ref": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"gender": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"languages": { | |
"properties": { | |
"language": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"affiliation": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"rank": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"name": { | |
"type": "multi_field", | |
"fields": { | |
"name": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"name_raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"city": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"state": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"street1": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"zip": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"location": { | |
"type": "geo_point" | |
} | |
} | |
}, | |
"address": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"rank": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"street1": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"street2": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"state": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"city": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"zip": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"phone": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"location": { | |
"type": "geo_point" | |
}, | |
"fax": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"email": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"commercial_entity_name": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"facility_name_render": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"facility_name_search": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"publications": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"mesh_heading": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"pmid": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"publication_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"journal_title": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"article_title": { | |
"type": "multi_field", | |
"fields": { | |
"article_title": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
} | |
} | |
}, | |
"abstract": { | |
"type": "multi_field", | |
"fields": { | |
"abstract": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
} | |
} | |
} | |
} | |
}, | |
"clinical_trials": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"brief_title": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"official_title": { | |
"type": "multi_field", | |
"fields": { | |
"official_title": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
} | |
} | |
}, | |
"start_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"completion_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"source": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"authority": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"brief_summary": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"detailed_description": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"keywords": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
} | |
} | |
}, | |
"clinical_interests": { | |
"properties": { | |
"clinical_interest": { | |
"type": "multi_field", | |
"fields": { | |
"clinical_interest": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"phrase_suggestions": { | |
"type": "string", | |
"analyzer": "suggestions" | |
} | |
} | |
} | |
} | |
}, | |
"earliest_grad_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"image_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"person_ref": { | |
"type": "long", | |
"index": "analyzed" | |
}, | |
"media_mentions": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"domain": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"title": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"summary": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
} | |
} | |
}, | |
"grants": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"full_project_number": { | |
"type": "string", | |
"index": "analyzed" | |
}, | |
"project_title": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "synonym_stemmer" | |
}, | |
"project_start_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"project_end_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"application_id": { | |
"type": "long", | |
"index": "analyzed" | |
} | |
} | |
}, | |
"legal": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"imposing_org": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"imposing_org_type": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"start_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"license": { | |
"type": "nested", | |
"include_in_parent": true, | |
"properties": { | |
"number": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"status": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"state": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"issue_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"expiration_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"issue_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"expiration_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"source_url": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"accepting_new_patients": { | |
"type": "boolean" | |
}, | |
"age_groups_seen": { | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"sees_workers_comp": { | |
"type": "boolean" | |
}, | |
"sees_sports_related": { | |
"type": "boolean" | |
}, | |
"provider_type": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"insurance_accepted": { | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"multi_resource_scheduling": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"clinical_terms": { | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "boost_bury_analyzer" | |
} | |
} | |
}, | |
"sees_cosmetic": { | |
"type": "boolean" | |
}, | |
"notes": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"facilities": { | |
"properties": { | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"boost_terms": { | |
"type": "multi_field", | |
"fields": { | |
"boost_terms": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "boost_bury_analyzer" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"bury_terms": { | |
"type": "multi_field", | |
"fields": { | |
"bury_terms": { | |
"type": "string", | |
"index": "analyzed", | |
"analyzer": "boost_bury_analyzer" | |
}, | |
"untouched": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"graduate_education": { | |
"properties": { | |
"start_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"start_month": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"start_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"end_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"end_month": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"end_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"country": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"city": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"state": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"medical_school": { | |
"properties": { | |
"graduation_date": { | |
"type": "date", | |
"format": "YYYY-MM-dd", | |
"index": "analyzed" | |
}, | |
"graduation_year": { | |
"type": "integer", | |
"index": "analyzed" | |
}, | |
"zip": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"country": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"street1": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"street2": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"name": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"city": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"state": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment