Skip to content

Setting Up Search MailMerge

Brian edited this page Mar 4, 2021 · 1 revision

First you want to configure or get the ID’s of the Facets you will be displaying.

A single default island is created with the following config:

{

"aggSublabel":null,
"autoSuggest":false,
"bucketKeyValuePairs":null,
"defaultToOpen":null,
"display":"STRING",
"displayName":"default",
"layout":"horizontal",
"maxCrumbs":null,
"name":"default",
"order":{
   "sortKind":"key",
   "desc":true
},
"preselected":{
   "kind":"WHITELIST",
   "values":[

   ]
},
"rangeEndLabel":null,
"rangeStartLabel":null,
"rank":null,
"showAllowMissing":null,
"showFilterToolbar":null,
"visibleOptions":{
   "kind":"WHITELIST",
   "values":[

   ]
},
"aggKind":"aggs"

}

This of course could be altered to fit configuration needs. Until a better UI is built, I made note of some of the acceptable fields that you’ll most likely be using/testing. acceptable fields for display:

‘ BAR_CHART`

`CHECKBOX`
`CRUMBS_ONLY`
`DATE`
`DATE_RANGE`
`DROP_DOWN`
`GREATER_THAN_DROP_DOWN`
`GREATER_THAN_RANGE`
`LESS_THAN_DROP_DOWN`
`LESS_THAN_RANGE`
`LOCATION`
`MULTISELECT`
`NUMBER_RANGE`
`PIE_CHART`
`STAR`
`STRING`

acceptable fields for name:

‘ average_rating`

`browse_condition_mesh_terms`
`browse_interventions_mesh_terms`
`condtions`
`design_outcome_measures`
`expanded_access_type_treatment`
`facility_cities`
`facility_countries`
`facility_names`
`facility_states`
`first_received_results`
`interventions_mesh_terms`
`indexed_at`
`results_first_submitted_date`
`last_changed_date`
`last_update_posted_date`
`location`
`number_of_arms`
`number_of_groups`
`overall_status`
`phase`
`plan_to_share_ipd`
`rating_dimensions`
`reactions.kind`
`sponsors`
`start_date`
`study_type`
`study_views_count`
`why_stopped`
`wiki_page_edits.email`
`wiki_page_edits.created_at`

‘agg | crowdAggs`

Clone this wiki locally